Kaydet (Commit) 62736c5f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

bool improvements

Change-Id: Ifc3b966ce84dfb1f3498d24a09b4f8614abba15c
üst eba29446
......@@ -138,7 +138,7 @@ bool HelpParser::CreatePO(
}
aPoOutput.close();
return sal_True;
return true;
}
bool HelpParser::Merge( const OString &rPOFile, const OString &rDestinationFile,
......
......@@ -106,21 +106,21 @@ bool MergeEntrys::GetText( OString &rReturn,
if ( bDel )
sText[ nLangIndex ] = "";
bReturn = bTextFirst[ nLangIndex ];
bTextFirst[ nLangIndex ] = sal_False;
bTextFirst[ nLangIndex ] = false;
break;
case STRING_TYP_QUICKHELPTEXT :
rReturn = sQuickHelpText[ nLangIndex ];
if ( bDel )
sQuickHelpText[ nLangIndex ] = "";
bReturn = bQuickHelpTextFirst[ nLangIndex ];
bQuickHelpTextFirst[ nLangIndex ] = sal_False;
bQuickHelpTextFirst[ nLangIndex ] = false;
break;
case STRING_TYP_TITLE :
rReturn = sTitle[ nLangIndex ];
if ( bDel )
sTitle[ nLangIndex ] = "";
bReturn = bTitleFirst[ nLangIndex ];
bTitleFirst[ nLangIndex ] = sal_False;
bTitleFirst[ nLangIndex ] = false;
break;
}
return bReturn;
......
......@@ -156,7 +156,7 @@ bool Merge(
}
}
MergeDataFile aMergeDataFile( rPOFile, rSourceFile, sal_False );
MergeDataFile aMergeDataFile( rPOFile, rSourceFile, false );
std::vector<OString> aLanguages;
if( rLanguage.equalsIgnoreAsciiCase("ALL") )
aLanguages = aMergeDataFile.GetLanguages();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment