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, 1 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLIndexSimpleEntryContext.cxx b/xmloff/source/text/XMLIndexSimpleEntryContext.cxx
index 94d15dd2f196..c46eecefd3e2 100644
--- a/xmloff/source/text/XMLIndexSimpleEntryContext.cxx
+++ b/xmloff/source/text/XMLIndexSimpleEntryContext.cxx
@@ -100,7 +100,6 @@ void XMLIndexSimpleEntryContext::FillPropertyValues(
// directly into the slots. Subclasses will have to know they can
// only use slot so-and-so.
- Any aAny;
auto pValues = rValues.getArray();
// token type
@@ -111,10 +110,9 @@ void XMLIndexSimpleEntryContext::FillPropertyValues(
if (m_bCharStyleNameOK)
{
pValues[1].Name = "CharacterStyleName";
- aAny <<= GetImport().GetStyleDisplayName(
+ pValues[1].Value <<= GetImport().GetStyleDisplayName(
XmlStyleFamily::TEXT_TEXT,
m_sCharStyleName );
- pValues[1].Value = aAny;
}
}