summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexSpanEntryContext.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-10-29 10:28:28 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-11-01 07:11:36 +0100
commit8cb57be792e6991c38cf5d4434569dc118dd0ed4 (patch)
tree46f394a22466fb7281d9c48f6d7fbed8a1a448a6 /xmloff/source/text/XMLIndexSpanEntryContext.cxx
parent34d0dd41e1e7bb69d6c4f817b39da26bcd33831f (diff)
Prepare for removal of non-const operator[] from Sequence in xmloff
Change-Id: I7ea7964f76f0a5db678510ac3533003726dc49fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124416 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
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: */