summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-09 13:36:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-09 19:40:02 +0200
commitfada813d5db2be370638d182e9f3b0dcd89fa081 (patch)
tree887340ded163c8e9f44a36806aced543d219647a /l10ntools
parentf6de30f44311e6125e65e990af1bb87ef2e4b979 (diff)
loplugin:simplifyconstruct in l10ntools..package
Change-Id: I8dba8ef1e7455af1e55bbd6086b49c0606bf4927 Reviewed-on: https://gerrit.libreoffice.org/60212 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/cfgmerge.cxx3
-rw-r--r--l10ntools/source/xrmmerge.cxx1
2 files changed, 1 insertions, 3 deletions
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"))