From 0d06069a403c472b1b9f9b9602ee253a385b2964 Mon Sep 17 00:00:00 2001 From: Christian Lippka Date: Thu, 7 Jun 2001 07:52:14 +0000 Subject: #87884# check pointers before using --- xmloff/source/text/txtexppr.cxx | 8 ++++---- 1 file 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; } -- cgit v1.2.3