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:
Caolán McNamara 2024-08-17 19:29:05 +01:00
parent af15f1eb66
commit c6a71f5daf

View file

@ -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)
{