From 12bcfec04fcbe6425e327109ad47cd2b2b80d2bd Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 5 Nov 2014 10:15:38 +0000 Subject: markup with event type not checker type Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da --- l10ntools/source/helpex.cxx | 1 + l10ntools/source/merge.cxx | 1 + 2 files changed, 2 insertions(+) (limited to 'l10ntools') 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 ); -- cgit