loplugin: cstylecast
Change-Id: I44408c89d00064ae00e4e0ae154ba79c35e56c7f
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
@@ -210,7 +210,7 @@ namespace drawinglayer
|
||||
{
|
||||
if(BufferedDecompositionPrimitive2D::operator==(rPrimitive))
|
||||
{
|
||||
const GraphicPrimitive2D& rCompare = (GraphicPrimitive2D&)rPrimitive;
|
||||
const GraphicPrimitive2D& rCompare = static_cast<const GraphicPrimitive2D&>(rPrimitive);
|
||||
|
||||
return (getTransform() == rCompare.getTransform()
|
||||
&& getGraphicObject() == rCompare.getGraphicObject()
|
||||
|
@@ -112,7 +112,7 @@ namespace drawinglayer
|
||||
{
|
||||
if(BufferedDecompositionPrimitive2D::operator==(rPrimitive))
|
||||
{
|
||||
const MediaPrimitive2D& rCompare = (MediaPrimitive2D&)rPrimitive;
|
||||
const MediaPrimitive2D& rCompare = static_cast<const MediaPrimitive2D&>(rPrimitive);
|
||||
|
||||
return (getTransform() == rCompare.getTransform()
|
||||
&& getURL() == rCompare.getURL()
|
||||
|
Reference in New Issue
Block a user