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>
This commit is contained in:
parent
0e7ea85a0d
commit
19c611f327
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue