diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-12 16:57:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-13 08:12:45 +0100 |
commit | d59987b164bc32efe8f99ad49c139b4fc7ca3c2f (patch) | |
tree | 765652d6e940a5bdf43322ed54aa2f4c14116418 /drawinglayer | |
parent | b4641df5de7842d6a8fc2c4f839214bf01160c8c (diff) |
loplugin:expandablemethods
Change-Id: I333d91ea5ce78c82e9bb107f934614efc7bfb8f7
Reviewed-on: https://gerrit.libreoffice.org/85078
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx index 75de37a701c6..6fca733a9e40 100644 --- a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx +++ b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx @@ -331,7 +331,6 @@ namespace drawinglayer const basegfx::B2DHomMatrix& rTransform); /// data read access - const Graphic& getGraphic() const { return maGraphic; } const basegfx::B2DHomMatrix& getTransform() const { return maTransform; } /// compare operator @@ -406,7 +405,7 @@ namespace drawinglayer // use operator== of Graphic - if that is equal, the basic definition is equal return (nullptr != pCompare && getTransform() == pCompare->getTransform() - && getGraphic() == pCompare->getGraphic()); + && maGraphic == pCompare->maGraphic); } void AnimatedGraphicPrimitive2D::get2DDecomposition(Primitive2DDecompositionVisitor& rVisitor, const geometry::ViewInformation2D& rViewInformation) const |