summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/textprimitive2d.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/textprimitive2d.cxx
parent6edb52ebaf5d2c932a185a44f943a062ee649cfe (diff)
loplugin: cstylecast
Change-Id: I06957bb1a736331995be810672e9d47b47cc6c0e
Diffstat (limited to 'drawinglayer/source/primitive2d/textprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/textprimitive2d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/textprimitive2d.cxx b/drawinglayer/source/primitive2d/textprimitive2d.cxx
index b825a82bdd2e..1554a685859d 100644
--- a/drawinglayer/source/primitive2d/textprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/textprimitive2d.cxx
@@ -262,7 +262,7 @@ namespace drawinglayer
{
if(BufferedDecompositionPrimitive2D::operator==(rPrimitive))
{
- const TextSimplePortionPrimitive2D& rCompare = (TextSimplePortionPrimitive2D&)rPrimitive;
+ const TextSimplePortionPrimitive2D& rCompare = static_cast<const TextSimplePortionPrimitive2D&>(rPrimitive);
return (getTextTransform() == rCompare.getTextTransform()
&& getText() == rCompare.getText()