summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-23 07:28:32 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-23 07:28:32 +0000
commit638006e649dd64cb487eda1a0db6e46be1dbcc74 (patch)
treeab9601c81388c642bf1f14ca6ce8b9f74a44b65a /xmloff/source
parent5b7af7c355ee608a15ffde500d9358591bec9858 (diff)
INTEGRATION: CWS swqbf90 (1.8.30); FILE MERGED
2006/12/20 15:34:48 os 1.8.30.1: #i72786# regression from #142494# fixed
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/text/XMLIndexSimpleEntryContext.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLIndexSimpleEntryContext.cxx b/xmloff/source/text/XMLIndexSimpleEntryContext.cxx
index 13d8a63d969f..511546d9882d 100644
--- a/xmloff/source/text/XMLIndexSimpleEntryContext.cxx
+++ b/xmloff/source/text/XMLIndexSimpleEntryContext.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: XMLIndexSimpleEntryContext.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: vg $ $Date: 2006-11-01 15:07:12 $
+ * last change: $Author: obo $ $Date: 2007-01-23 08:28:32 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -125,10 +125,10 @@ void XMLIndexSimpleEntryContext::StartElement(
{
sCharStyleName = xAttrList->getValueByIndex(nAttr);
OUString sDisplayStyleName = GetImport().GetStyleDisplayName(
- XML_STYLE_FAMILY_TEXT_PARAGRAPH, sCharStyleName );
+ XML_STYLE_FAMILY_TEXT_TEXT, sCharStyleName );
// #142494#: Check if style exists
const Reference < ::com::sun::star::container::XNameContainer > & rStyles =
- GetImport().GetTextImport()->GetParaStyles();
+ GetImport().GetTextImport()->GetTextStyles();
if( rStyles.is() && rStyles->hasByName( sDisplayStyleName ) )
bCharStyleNameOK = sal_True;
else