From fada813d5db2be370638d182e9f3b0dcd89fa081 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 9 Sep 2018 13:36:33 +0200 Subject: loplugin:simplifyconstruct in l10ntools..package Change-Id: I8dba8ef1e7455af1e55bbd6086b49c0606bf4927 Reviewed-on: https://gerrit.libreoffice.org/60212 Tested-by: Jenkins Reviewed-by: Noel Grandin --- l10ntools/source/cfgmerge.cxx | 3 +-- l10ntools/source/xrmmerge.cxx | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'l10ntools') diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx index ed124c5c428a..872d2c29ded0 100644 --- a/l10ntools/source/cfgmerge.cxx +++ b/l10ntools/source/cfgmerge.cxx @@ -396,8 +396,7 @@ void CfgExport::WorkOnText( CfgMerge::CfgMerge( const OString &rMergeSource, const OString &rOutputFile, const OString &rFilename, const OString &rLanguage ) - : pMergeDataFile( nullptr ), - sFilename( rFilename ), + : sFilename( rFilename ), bEnglish( false ) { pOutputStream.open( diff --git a/l10ntools/source/xrmmerge.cxx b/l10ntools/source/xrmmerge.cxx index 6c747ad98654..f866a460b06f 100644 --- a/l10ntools/source/xrmmerge.cxx +++ b/l10ntools/source/xrmmerge.cxx @@ -370,7 +370,6 @@ XRMResMerge::XRMResMerge( const OString &rMergeSource, const OString &rOutputFile, const OString &rFilename ) : XRMResParser(), - pMergeDataFile( nullptr ), sFilename( rFilename ) { if (!rMergeSource.isEmpty() && sLanguage.equalsIgnoreAsciiCase("ALL")) -- cgit