summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexSpanEntryContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLIndexSpanEntryContext.cxx')
-rw-r--r--xmloff/source/text/XMLIndexSpanEntryContext.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLIndexSpanEntryContext.cxx b/xmloff/source/text/XMLIndexSpanEntryContext.cxx
index a846674b30b9..ba0c976cfc53 100644
--- a/xmloff/source/text/XMLIndexSpanEntryContext.cxx
+++ b/xmloff/source/text/XMLIndexSpanEntryContext.cxx
@@ -53,10 +53,11 @@ void XMLIndexSpanEntryContext::FillPropertyValues(
XMLIndexSimpleEntryContext::FillPropertyValues(rValues);
// content
+ auto pValues = rValues.getArray();
Any aAny;
aAny <<= sContent.makeStringAndClear();
- rValues[m_nValues-1].Name = "Text";
- rValues[m_nValues-1].Value = aAny;
+ pValues[m_nValues-1].Name = "Text";
+ pValues[m_nValues-1].Value = aAny;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */