summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-04 20:42:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-04 20:58:29 +0100
commit94fccef699496a38d5d2474158bf11e2091ab5dc (patch)
tree6f06fe1b66ffbf90c63cb00aba4d52870fbdd117 /sw
parent9359f4747181ae93f777f224a9f64a832d5b806c (diff)
coverity#704997 Explicit null dereferenced
Change-Id: I22e7872e45cca981a0b2c24ca8b0393ba1244612
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index b97f66ded5ba..343e47cac173 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -610,7 +610,7 @@ void WW8Export::ExportDopTypography(WW8DopTypography &rTypo)
OSL_ENSURE( nNoNeeded<=1, "Example of unexportable forbidden chars" );
rTypo.reserved1=nUseReserved;
- if (rTypo.iLevelOfKinsoku)
+ if (rTypo.iLevelOfKinsoku && pUseMe)
{
rTypo.cchFollowingPunct = msword_cast<sal_Int16>
(pUseMe->beginLine.getLength());