Kaydet (Commit) 951f605a authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1242934 Result is not floating-point

Change-Id: I800f978102f1d1427584cf55d3da7768e7c7f2f3
üst 60c0f21c
...@@ -1048,7 +1048,7 @@ void PPTWriter::ImplAdjustFirstLineLineSpacing( TextObj& rTextObj, EscherPropert ...@@ -1048,7 +1048,7 @@ void PPTWriter::ImplAdjustFirstLineLineSpacing( TextObj& rTextObj, EscherPropert
if ( ( nLineSpacing > 0 ) && ( nLineSpacing < 100 ) ) if ( ( nLineSpacing > 0 ) && ( nLineSpacing < 100 ) )
{ {
double fCharHeight = rPortion.mnCharHeight; double fCharHeight = rPortion.mnCharHeight;
fCharHeight *= 2540 / 72; fCharHeight *= 2540 / 72.0;
fCharHeight *= 100 - nLineSpacing; fCharHeight *= 100 - nLineSpacing;
fCharHeight /= 100; fCharHeight /= 100;
......
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