diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-02 11:50:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-02 15:51:16 +0100 |
commit | a7ff16ada6ac8998863a0a9708bc1a89b38bfd82 (patch) | |
tree | da51d538aca98821c4ca9943b4186335996d4660 /sd | |
parent | d69b30a84d8622a1bb93cb38cdb4d458c4d6a965 (diff) |
coverity#705854 Dereference before null check
Change-Id: I8bdedf38a29587bb504ccf310371dea756efd47d
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 d36590a56200..cb84f6f1ef71 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -693,7 +693,7 @@ void PPTWriter::ImplWriteParagraphs( SvStream& rOut, TextObj& rTextObj ) } else { - if ( !pPara->mbFixedLineSpacing && pPortion && pPortion->mnCharHeight > (sal_uInt16)( ((double)-nLineSpacing) * 0.001 * 72.0 / 2.54 ) ) // 1/100mm to point + if ( !pPara->mbFixedLineSpacing && pPortion->mnCharHeight > (sal_uInt16)( ((double)-nLineSpacing) * 0.001 * 72.0 / 2.54 ) ) // 1/100mm to point nLineSpacing = nNormalSpacing; else nLineSpacing = (sal_Int16)( (double)nLineSpacing / 4.40972 ); |