Related: ofz#70815 Timeout, don't need this copy
Change-Id: I8d870a6e6743b98da3d0a173cff12748d513d8d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171982 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
af15f1eb66
commit
c6a71f5daf
1 changed files with 2 additions and 4 deletions
|
@ -683,8 +683,7 @@ public:
|
|||
void append(const basegfx::B2DPoint& rPoint)
|
||||
{
|
||||
mpBufferedData.reset(); // TODO: is this needed?
|
||||
const auto aCoordinate = rPoint;
|
||||
maPoints.append(aCoordinate);
|
||||
maPoints.append(rPoint);
|
||||
|
||||
if(moControlVector)
|
||||
{
|
||||
|
@ -697,8 +696,7 @@ public:
|
|||
{
|
||||
assert(nCount > 0);
|
||||
mpBufferedData.reset();
|
||||
auto aCoordinate = rPoint;
|
||||
maPoints.insert(nIndex, aCoordinate, nCount);
|
||||
maPoints.insert(nIndex, rPoint, nCount);
|
||||
|
||||
if(moControlVector)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue