summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-07-10 11:50:10 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-07-10 22:11:27 +0200
commitcdb6ea23516391d975bce03ac5802923d3159610 (patch)
tree4c7b660d86aea2735d17fe820b6b51f6459898c2 /l10ntools
parent170aff247823c1a20e01607012b08a70f2ab7cd1 (diff)
coverity#1224978 integer overflow
Change-Id: Ie7dd90e6e395fb84802758e7d90ffac010dcced0
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/helpex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/helpex.cxx b/l10ntools/source/helpex.cxx
index 3188a6cb165a..463c8a4139da 100644
--- a/l10ntools/source/helpex.cxx
+++ b/l10ntools/source/helpex.cxx
@@ -88,7 +88,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
aInput >> sTemp;
while( !aInput.eof() )
{
- const OString sXhpFile( sTemp.data(), sTemp.length() );
+ const OString sXhpFile( sTemp.data(), (sal_Int32)sTemp.length() );
HelpParser aParser( sXhpFile );
const OString sOutput(
aArgs.m_sOutputFile +