diff options
Diffstat (limited to 'drawinglayer/source/primitive2d/controlprimitive2d.cxx')
-rw-r--r-- | drawinglayer/source/primitive2d/controlprimitive2d.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/controlprimitive2d.cxx b/drawinglayer/source/primitive2d/controlprimitive2d.cxx index f03157c138a6..b764e02c21d1 100644 --- a/drawinglayer/source/primitive2d/controlprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/controlprimitive2d.cxx @@ -289,7 +289,7 @@ namespace drawinglayer // use base class compare operator if(BufferedDecompositionPrimitive2D::operator==(rPrimitive)) { - const ControlPrimitive2D& rCompare = (ControlPrimitive2D&)rPrimitive; + const ControlPrimitive2D& rCompare = static_cast<const ControlPrimitive2D&>(rPrimitive); if(getTransform() == rCompare.getTransform()) { |