summaryrefslogtreecommitdiff
path: root/test/source/style/xstyleloader.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-10-29 10:15:13 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-10-31 20:27:57 +0100
commiteafa99c6c4904bce9bf692eca97562af92cd633e (patch)
tree56f1f39d4d39a53df4cfdb35fe99bcab812b1db7 /test/source/style/xstyleloader.cxx
parentbc39f6b0e62b0a54500bf3986f971a43fe8f843d (diff)
Prepare for removal of non-const operator[] from Sequence in test
Change-Id: I9f2c0deda676b10377b0a4572d26422cb0d8b807 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124399 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'test/source/style/xstyleloader.cxx')
-rw-r--r--test/source/style/xstyleloader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/style/xstyleloader.cxx b/test/source/style/xstyleloader.cxx
index fd3f8eec5303..4b58758d9e8b 100644
--- a/test/source/style/xstyleloader.cxx
+++ b/test/source/style/xstyleloader.cxx
@@ -76,7 +76,7 @@ void XStyleLoader::testLoadStylesFromStream()
uno::Any aTmp;
aTmp <<= xInputStream;
aInputStream.Value = aTmp;
- aOptions[nLength] = aInputStream;
+ aOptions.getArray()[nLength] = aInputStream;
xStyleLoader->loadStylesFromURL("private:stream", aOptions);