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; } }