summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-07 08:35:12 +0200
committerNoel Grandin <noel@peralex.com>2015-08-11 08:25:33 +0200
commit9d307abeec2a80e59af0f0af10dc42d90cd7441a (patch)
treeab939f6c7d0d65d0419fbe305bbc1501f1faceb8 /l10ntools
parent12fb9096f562281c7ca4b7fed6a3342dac9a91b7 (diff)
new loplugin: defaultparams
find places where we do not need to be passing a parameter to a function, because that function has a default value which matches the value we are passing. Change-Id: I04d1fd6275204dd4925e6563282464f461123632
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/export.cxx2
-rw-r--r--l10ntools/source/xmlparse.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 6b002ef81a2f..a56e1a978890 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -1157,7 +1157,7 @@ void Export::MergeRest( ResData *pResData )
if( pEntrys )
{
OString sText;
- pEntrys->GetText( sText, STRING_TYP_TEXT, sCur, false );
+ pEntrys->GetText( sText, STRING_TYP_TEXT, sCur );
if( !sText.isEmpty())
{
ConvertMergeContent( sText );
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index f47880dbb2a9..06fcef004530 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -374,7 +374,7 @@ void XMLFile::InsertL10NElement( XMLElement* pElement )
{
fprintf(stdout,"XMLFile::InsertL10NElement: No AttributeList found");
fprintf(stdout,"++++++++++++++++++++++++++++++++++++++++++++++++++");
- Print( pElement , 0 );
+ Print( pElement );
fprintf(stdout,"++++++++++++++++++++++++++++++++++++++++++++++++++");
}