summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source')
-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;
}