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)
|
void append(const basegfx::B2DPoint& rPoint)
|
||||||
{
|
{
|
||||||
mpBufferedData.reset(); // TODO: is this needed?
|
mpBufferedData.reset(); // TODO: is this needed?
|
||||||
const auto aCoordinate = rPoint;
|
maPoints.append(rPoint);
|
||||||
maPoints.append(aCoordinate);
|
|
||||||
|
|
||||||
if(moControlVector)
|
if(moControlVector)
|
||||||
{
|
{
|
||||||
@@ -697,8 +696,7 @@ public:
|
|||||||
{
|
{
|
||||||
assert(nCount > 0);
|
assert(nCount > 0);
|
||||||
mpBufferedData.reset();
|
mpBufferedData.reset();
|
||||||
auto aCoordinate = rPoint;
|
maPoints.insert(nIndex, rPoint, nCount);
|
||||||
maPoints.insert(nIndex, aCoordinate, nCount);
|
|
||||||
|
|
||||||
if(moControlVector)
|
if(moControlVector)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user