summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-01 13:54:59 +0200
committerNoel Grandin <noel@peralex.com>2014-10-02 07:37:19 +0200
commite54d93ac344f9061897f768fd09375fe210f34e0 (patch)
treeb814d237807cd9b700d0bac7dd687cb9c8166e0e /drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx
parent6edb52ebaf5d2c932a185a44f943a062ee649cfe (diff)
loplugin: cstylecast
Change-Id: I06957bb1a736331995be810672e9d47b47cc6c0e
Diffstat (limited to 'drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/wrongspellprimitive2d.cxx2
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()