Kaydet (Commit) a64675de authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

coverity#1224977 integer overflow

Change-Id: Ic212489319ef06486323877227bc8f43cc9190cc
üst cdb6ea23
......@@ -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() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment