diff options
Diffstat (limited to 'l10ntools/source/lngmerge.cxx')
-rw-r--r-- | l10ntools/source/lngmerge.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/l10ntools/source/lngmerge.cxx b/l10ntools/source/lngmerge.cxx index 0b14a2c59379..7171f6584c5e 100644 --- a/l10ntools/source/lngmerge.cxx +++ b/l10ntools/source/lngmerge.cxx @@ -47,12 +47,10 @@ static void lcl_RemoveUTF8ByteOrderMarker( OString &rString ) // // class LngParser // -LngParser::LngParser(const OString &rLngFile, - bool bULFFormat) +LngParser::LngParser(const OString &rLngFile) : nError( LNG_OK ) , pLines( NULL ) , sSource( rLngFile ) - , bULF( bULFFormat ) { pLines = new LngLineList(); std::ifstream aStream(sSource.getStr()); @@ -237,7 +235,7 @@ bool LngParser::Merge( std::advance( it, nPos ); pLines->erase( it ); } - if( bULF && pEntrys ) + if( pEntrys ) { if( !sLang.isEmpty() ) { |