diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-29 09:32:59 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-29 14:30:36 +0200 |
commit | 19c611f3275de7ffc47e517ad1f3141695fa83fb (patch) | |
tree | 99da8b80a5031a558b2f2324c9df620117614bac /drawinglayer | |
parent | 0e7ea85a0d67dcbdb6da28dcdd6d586358c50901 (diff) |
Prepare for removal of non-const operator[] from Sequence in drawinglayer
Change-Id: I9cea42e100de6bb05a32edbf9611fbd05d91759e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124359
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/geometry/viewinformation3d.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drawinglayer/source/geometry/viewinformation3d.cxx b/drawinglayer/source/geometry/viewinformation3d.cxx index f0d25bbb07fa..84dd3ccfe79d 100644 --- a/drawinglayer/source/geometry/viewinformation3d.cxx +++ b/drawinglayer/source/geometry/viewinformation3d.cxx @@ -127,6 +127,7 @@ namespace drawinglayer::geometry // prepare extended information for filtering. Maximum size is nCount mxExtendedInformation.realloc(nCount); + auto pExtendedInformation = mxExtendedInformation.getArray(); for(sal_Int32 a(0); a < nCount; a++) { @@ -200,7 +201,7 @@ namespace drawinglayer::geometry else { // extra information; add to filtered information - mxExtendedInformation[nExtendedInsert++] = rProp; + pExtendedInformation[nExtendedInsert++] = rProp; } } |