summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-01 13:04:52 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-01 13:04:52 -0500
commit6d268f3c559ac6351666de4a362a0536ecc7c78a (patch)
tree6ae935cec2ffe88eab8aa2a8f2074d4b780ab948
parent2d5d779de976726a1ae3d310a2a04ff0ce2cebac (diff)
downloadtdelibs-6d268f3c559ac6351666de4a362a0536ecc7c78a.tar.gz
tdelibs-6d268f3c559ac6351666de4a362a0536ecc7c78a.zip
Remove unused KMimeMagic::mergeBufConfig method in preparation for converting to libmagic
This relates to Bug 656
-rw-r--r--tdeio/tdeio/kmimemagic.cpp17
-rw-r--r--tdeio/tdeio/kmimemagic.h8
2 files changed, 0 insertions, 25 deletions
diff --git a/tdeio/tdeio/kmimemagic.cpp b/tdeio/tdeio/kmimemagic.cpp
index 597710e13..6aae4e39d 100644
--- a/tdeio/tdeio/kmimemagic.cpp
+++ b/tdeio/tdeio/kmimemagic.cpp
@@ -2175,23 +2175,6 @@ KMimeMagic::mergeConfig(const TQString & _configfile)
return true;
}
-bool
-KMimeMagic::mergeBufConfig(char * _configbuf)
-{
- int result;
-
- if (conf) {
- result = buff_apprentice(_configbuf);
- if (result == -1)
- return false;
-#ifdef MIME_MAGIC_DEBUG_TABLE
- test_table();
-#endif
- return true;
- }
- return false;
-}
-
void
KMimeMagic::setFollowLinks( bool _enable )
{
diff --git a/tdeio/tdeio/kmimemagic.h b/tdeio/tdeio/kmimemagic.h
index f5430a219..d812650f2 100644
--- a/tdeio/tdeio/kmimemagic.h
+++ b/tdeio/tdeio/kmimemagic.h
@@ -127,14 +127,6 @@ public:
bool mergeConfig( const TQString & configFile );
/**
- * Merge an existing parse table with the data from the
- * given buffer.
- *
- * @return @p true on success.
- */
- bool mergeBufConfig(char *);
-
- /**
* Enable/Disable follow-links.
*
* (Default is disabled.)