Remove unused KMimeMagic::mergeBufConfig method in preparation for converting to libmagic

This relates to Bug 656
(cherry picked from commit 6d268f3c55)
v3.5.13-sru
Timothy Pearson 10 years ago committed by Slávek Banko
parent fc073bef59
commit a515deffb8

@ -2175,23 +2175,6 @@ KMimeMagic::mergeConfig(const TQString & _configfile)
return true; 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 void
KMimeMagic::setFollowLinks( bool _enable ) KMimeMagic::setFollowLinks( bool _enable )
{ {

@ -126,14 +126,6 @@ public:
*/ */
bool mergeConfig( const TQString & configFile ); 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. * Enable/Disable follow-links.
* *

Loading…
Cancel
Save