From a64675de59528391997cb25a400984666aa1b6e7 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Thu, 10 Jul 2014 11:52:15 +0200 Subject: coverity#1224977 integer overflow Change-Id: Ic212489319ef06486323877227bc8f43cc9190cc --- l10ntools/source/merge.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'l10ntools') diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index ebc5ec56854c..09ee4aafb49b 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -240,7 +240,7 @@ MergeDataFile::MergeDataFile( bool bSkipCurrentPOFile = false; const OString sFileName( lcl_NormalizeFilename(rFile) ); const bool bReadAll = sFileName.isEmpty(); - const OString sPoFileName(sPoFile.data(), sPoFile.length()); + const OString sPoFileName(sPoFile.data(), (sal_Int32)sPoFile.length()); PoIfstream aPoInput; aPoInput.open( sPoFileName ); if ( !aPoInput.isOpen() ) -- cgit