summaryrefslogtreecommitdiff
path: root/l10ntools/source/gConvXhp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-03 09:43:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-03 09:43:06 +0100
commita39fb49535bbcdecd0a605250f82335aee690937 (patch)
tree94b8b631c1ca1bf95af14c076f451e8157cc1706 /l10ntools/source/gConvXhp.cxx
parentfba6f6fb514ee84bd42f765d11a5627590d04cfd (diff)
various loplugin warnings
Change-Id: I9078ba18d8897a89a472fe75385542dac0c6bf78
Diffstat (limited to 'l10ntools/source/gConvXhp.cxx')
-rw-r--r--l10ntools/source/gConvXhp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/l10ntools/source/gConvXhp.cxx b/l10ntools/source/gConvXhp.cxx
index 6222e2a6668f..0cb925fb4feb 100644
--- a/l10ntools/source/gConvXhp.cxx
+++ b/l10ntools/source/gConvXhp.cxx
@@ -33,8 +33,8 @@
convert_xhp::convert_xhp(l10nMem& crMemory)
: convert_gen_impl(crMemory),
meExpectValue(VALUE_NOT_USED),
- msLangText(NULL),
- mcOutputFiles(NULL),
+ msLangText(nullptr),
+ mcOutputFiles(nullptr),
miCntLanguages(0)
{
// xhp files are written through a local routine
@@ -102,7 +102,7 @@ void convert_xhp::execute()
// XhpWrap::yylex();
// dump last line
- copySourceSpecial(NULL,3);
+ copySourceSpecial(nullptr,3);
}
@@ -219,7 +219,7 @@ void convert_xhp::setLang(char *yytext)
if (sLang == "en-US")
meExpectValue = VALUE_IS_TAG_TRANS;
else
- mcMemory.showError(sLang + " is no en-US language");
+ l10nMem::showError(sLang + " is no en-US language");
break;
case VALUE_IS_VALUE_TAG: