diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 21:17:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-12 09:16:29 +0100 |
commit | cc3d6508286ef9daa5bf6a028e0e3b81c2ccc98d (patch) | |
tree | 214674fee298ceada477684f9ede920b14bed7a7 /l10ntools | |
parent | 6974f514d3b8cf4b422a70f21fdb57d283ab3774 (diff) |
callcatcher: remove unused MergeDataFile::WriteError ByteString
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/inc/export.hxx | 2 | ||||
-rw-r--r-- | l10ntools/source/merge.cxx | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index addfd7a88f7f..bf3308b85215 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -515,8 +515,6 @@ class MergeDataFile const ByteString &sFilename, bool bCaseSensitive ); ByteString Dump(); - void WriteError( const ByteString &rLine ); - public: MergeDataFile( const ByteString &rFileName, const ByteString& rFile , sal_Bool bErrLog, CharSet aCharSet, bool bCaseSensitive = false ); ~MergeDataFile(); diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index 35a61211bdbb..584a84bbbf56 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -269,18 +269,6 @@ ByteString MergeDataFile::Dump(){ return sRet; } -void MergeDataFile::WriteError( const ByteString &rLine ) -{ - if ( bErrorLog ) - { - if ( !aErrLog.IsOpen()) - aErrLog.Open( String( sErrorLog, RTL_TEXTENCODING_ASCII_US ), STREAM_STD_WRITE | STREAM_TRUNC ); - aErrLog.WriteLine( rLine ); - } - else - fprintf( stderr, "%s\n", rLine.GetBuffer()); -} - std::vector<ByteString> MergeDataFile::GetLanguages(){ return std::vector<ByteString>(aLanguageSet.begin(),aLanguageSet.end()); } |