From b2350683e48405bb2f67cd63474295eff1435436 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Wed, 23 Mar 2005 12:40:36 +0000 Subject: INTEGRATION: CWS calcuno01 (1.17.236); FILE MERGED 2005/01/06 10:49:22 sab 1.17.236.5: RESYNC: (1.22-1.23); FILE MERGED 2004/10/13 11:07:52 sab 1.17.236.4: RESYNC: (1.18-1.22); FILE MERGED 2004/02/13 19:12:50 sab 1.17.236.3: RESYNC: (1.17-1.18); FILE MERGED 2004/02/12 17:43:46 sab 1.17.236.2: #i22706#; better using of API 2004/01/05 15:43:24 sab 1.17.236.1: #i22706#; using new interface XTolerantMultiPropertySet --- xmloff/source/text/txtstyli.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx index d391a0a765c7..09b2e1df14a0 100644 --- a/xmloff/source/text/txtstyli.cxx +++ b/xmloff/source/text/txtstyli.cxx @@ -2,9 +2,9 @@ * * $RCSfile: txtstyli.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: vg $ $Date: 2005-03-08 11:11:32 $ + * last change: $Author: vg $ $Date: 2005-03-23 13:40:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -475,8 +475,8 @@ void XMLTextStyleContext::FillPropertySet( if( IsDefaultStyle() && GetFamily() == XML_STYLE_FAMILY_TABLE_TABLE ) { - OUString sCollapsingBorders = - OUString( RTL_CONSTASCII_USTRINGPARAM( "CollapsingBorders" ) ); + OUString sCollapsingBorders( + OUString( RTL_CONSTASCII_USTRINGPARAM( "CollapsingBorders" ) ) ); DBG_ASSERT( rPropSet->getPropertySetInfo()->hasPropertyByName( sCollapsingBorders ), "property missing?" ); rPropSet->setPropertyValue( sCollapsingBorders, @@ -489,6 +489,9 @@ void XMLTextStyleContext::FillPropertySet( #ifdef CONV_STAR_FONTS // check for StarBats and StarMath fonts + if (!xInfo.is()) + xInfo.set(rPropSet->getPropertySetInfo()); + // iterate over aContextIDs entries 1..3 for ( sal_Int32 i = 2; i < 5; i++ ) { -- cgit v1.2.3