summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-05 10:15:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-05 14:58:00 +0000
commit12bcfec04fcbe6425e327109ad47cd2b2b80d2bd (patch)
treeb57ac6784ce892defa6d06fd5974318c8ffb6972 /l10ntools
parentea272d9fe4bf2dc7419f76e2ddee707d768ccd50 (diff)
markup with event type not checker type
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/helpex.cxx1
-rw-r--r--l10ntools/source/merge.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/l10ntools/source/helpex.cxx b/l10ntools/source/helpex.cxx
index 463c8a4139da..e68abb53f9c4 100644
--- a/l10ntools/source/helpex.cxx
+++ b/l10ntools/source/helpex.cxx
@@ -88,6 +88,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
aInput >> sTemp;
while( !aInput.eof() )
{
+ // coverity[tainted_data] - this is a build time tool
const OString sXhpFile( sTemp.data(), (sal_Int32)sTemp.length() );
HelpParser aParser( sXhpFile );
const OString sOutput(
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx
index 09ee4aafb49b..ee980093c709 100644
--- a/l10ntools/source/merge.cxx
+++ b/l10ntools/source/merge.cxx
@@ -240,6 +240,7 @@ MergeDataFile::MergeDataFile(
bool bSkipCurrentPOFile = false;
const OString sFileName( lcl_NormalizeFilename(rFile) );
const bool bReadAll = sFileName.isEmpty();
+ // coverity[tainted_data] - this is a build time tool
const OString sPoFileName(sPoFile.data(), (sal_Int32)sPoFile.length());
PoIfstream aPoInput;
aPoInput.open( sPoFileName );