diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-01 13:54:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-02 07:37:19 +0200 |
commit | e54d93ac344f9061897f768fd09375fe210f34e0 (patch) | |
tree | b814d237807cd9b700d0bac7dd687cb9c8166e0e /drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx | |
parent | 6edb52ebaf5d2c932a185a44f943a062ee649cfe (diff) |
loplugin: cstylecast
Change-Id: I06957bb1a736331995be810672e9d47b47cc6c0e
Diffstat (limited to 'drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx')
-rw-r--r-- | drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx b/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx index d49cdc78c59d..e488422a653e 100644 --- a/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx @@ -90,7 +90,7 @@ namespace drawinglayer { if(BufferedDecompositionPrimitive2D::operator==(rPrimitive)) { - const WrongSpellPrimitive2D& rCompare = (WrongSpellPrimitive2D&)rPrimitive; + const WrongSpellPrimitive2D& rCompare = static_cast<const WrongSpellPrimitive2D&>(rPrimitive); return (getTransformation() == rCompare.getTransformation() && getStart() == rCompare.getStart() |