diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 09:46:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 14:48:49 +0100 |
commit | 951f605aee304a37d6f7011dc4defce9ca079405 (patch) | |
tree | 62a6c556bc17e5dbe0a0d450617bab697dcb1c9a /sd | |
parent | 60c0f21c81f931c8579e8902754021571d2cccbe (diff) |
coverity#1242934 Result is not floating-point
Change-Id: I800f978102f1d1427584cf55d3da7768e7c7f2f3
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index e7084f660343..bcd25ff17d22 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -1048,7 +1048,7 @@ void PPTWriter::ImplAdjustFirstLineLineSpacing( TextObj& rTextObj, EscherPropert if ( ( nLineSpacing > 0 ) && ( nLineSpacing < 100 ) ) { double fCharHeight = rPortion.mnCharHeight; - fCharHeight *= 2540 / 72; + fCharHeight *= 2540 / 72.0; fCharHeight *= 100 - nLineSpacing; fCharHeight /= 100; |