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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user