[Libreoffice-commits] core.git: chart2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Mar 1 15:41:13 UTC 2020
chart2/source/view/charttypes/VSeriesPlotter.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit f1c011eb64b837bd375a6afbfa8cf784e3b723b8
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Feb 29 20:04:06 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Mar 1 16:40:37 2020 +0100
cid#1459020 Resource Leaks
Change-Id: I124a61ee34b315c4853ee0f1d96eb9ee45a76e8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89764
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index 2c46743696f6..c971bf04e1ec 100644
--- a/chart2/source/view/charttypes/VSeriesPlotter.cxx
+++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx
@@ -754,7 +754,8 @@ uno::Reference< drawing::XShape > VSeriesPlotter::createDataLabel( const uno::Re
aPoints[0][1].X = nX2;
aPoints[0][1].Y = nY2;
- m_pShapeFactory->createLine2D(xTarget, aPoints, new VLineProperties);
+ VLineProperties aVLineProperties;
+ m_pShapeFactory->createLine2D(xTarget, aPoints, &aVLineProperties);
}
}
}
More information about the Libreoffice-commits
mailing list