summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexSimpleEntryContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLIndexSimpleEntryContext.cxx')
-rw-r--r--xmloff/source/text/XMLIndexSimpleEntryContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLIndexSimpleEntryContext.cxx b/xmloff/source/text/XMLIndexSimpleEntryContext.cxx
index 3addf0827632..8811f4830917 100644
--- a/xmloff/source/text/XMLIndexSimpleEntryContext.cxx
+++ b/xmloff/source/text/XMLIndexSimpleEntryContext.cxx
@@ -72,7 +72,7 @@ void XMLIndexSimpleEntryContext::StartElement(
{
m_sCharStyleName = xAttrList->getValueByIndex(nAttr);
OUString sDisplayStyleName = GetImport().GetStyleDisplayName(
- XML_STYLE_FAMILY_TEXT_TEXT, m_sCharStyleName );
+ XmlStyleFamily::TEXT_TEXT, m_sCharStyleName );
// #142494#: Check if style exists
const Reference < css::container::XNameContainer > & rStyles =
GetImport().GetTextImport()->GetTextStyles();
@@ -117,7 +117,7 @@ void XMLIndexSimpleEntryContext::FillPropertyValues(
{
rValues[1].Name = "CharacterStyleName";
aAny <<= GetImport().GetStyleDisplayName(
- XML_STYLE_FAMILY_TEXT_TEXT,
+ XmlStyleFamily::TEXT_TEXT,
m_sCharStyleName );
rValues[1].Value = aAny;
}