summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/primitivetools2d.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-09 10:26:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-09 10:34:31 +0000
commit30e39e4793bbfe59a53b41422b5d86a03cfe31d3 (patch)
tree989d282b0ef9b180e56a69a946d69aba17c92ead /drawinglayer/source/primitive2d/primitivetools2d.cxx
parent0e0e3ea312dc09de6726318c3579671fec7de7ee (diff)
loplugin:expandablemethods in drawinglayer..editeng
Change-Id: Ic7fe13651e18b4eec90ef3fd8d7aab81197e0f39 Reviewed-on: https://gerrit.libreoffice.org/30707 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/primitive2d/primitivetools2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/primitivetools2d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/primitivetools2d.cxx b/drawinglayer/source/primitive2d/primitivetools2d.cxx
index 509bff79a83e..494a8cd38f6f 100644
--- a/drawinglayer/source/primitive2d/primitivetools2d.cxx
+++ b/drawinglayer/source/primitive2d/primitivetools2d.cxx
@@ -43,7 +43,7 @@ namespace drawinglayer
if(getBuffered2DDecomposition().empty())
{
// remember new valid DiscreteUnit
- const_cast< DiscreteMetricDependentPrimitive2D* >(this)->updateDiscreteUnit(fDiscreteUnit);
+ const_cast< DiscreteMetricDependentPrimitive2D* >(this)->mfDiscreteUnit = fDiscreteUnit;
}
// call base implementation