diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-07-10 11:52:15 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-07-10 22:11:27 +0200 |
commit | a64675de59528391997cb25a400984666aa1b6e7 (patch) | |
tree | 694203bd81fbe54acd875ade59230dd0b63bcb0a /l10ntools/source/merge.cxx | |
parent | cdb6ea23516391d975bce03ac5802923d3159610 (diff) |
coverity#1224977 integer overflow
Change-Id: Ic212489319ef06486323877227bc8f43cc9190cc
Diffstat (limited to 'l10ntools/source/merge.cxx')
-rw-r--r-- | l10ntools/source/merge.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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() ) |