summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2001-06-07 07:52:14 +0000
committerChristian Lippka <cl@openoffice.org>2001-06-07 07:52:14 +0000
commit0d06069a403c472b1b9f9b9602ee253a385b2964 (patch)
treef88879cc28250f4893315c881fffd8cd8be5245f
parent9e51f722e902d72aa1c6b764e7d3cc7743021de8 (diff)
#87884# check pointers before using
-rw-r--r--xmloff/source/text/txtexppr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/text/txtexppr.cxx b/xmloff/source/text/txtexppr.cxx
index ab85e487f5ad..27955fc2149d 100644
--- a/xmloff/source/text/txtexppr.cxx
+++ b/xmloff/source/text/txtexppr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtexppr.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: cl $ $Date: 2001-05-31 11:21:56 $
+ * last change: $Author: cl $ $Date: 2001-06-07 08:52:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -297,12 +297,12 @@ void XMLTextExportPropertySetMapper::ContextFontFilter(
pFontNameState->mnIndex = -1;
}
- if( 0 == sFamilyName.getLength() )
+ if( pFontFamilyNameState && (0 == sFamilyName.getLength()) )
{
pFontFamilyNameState->mnIndex = -1;
}
- if( 0 == sStyleName.getLength() )
+ if( pFontStyleNameState && (0 == sStyleName.getLength()) )
{
pFontStyleNameState->mnIndex = -1;
}