loplugin: cstylecast
Change-Id: I8b1f0f6c100b4cf6d45c9e0c0f1e0a38ec081218
This commit is contained in:
parent
04f43cd6a0
commit
8e58d9d08c
6 changed files with 7 additions and 7 deletions
|
@ -100,8 +100,8 @@ namespace basegfx
|
|||
}
|
||||
|
||||
// reset last line, it equals default
|
||||
delete ((ImplHomMatrixTemplate< RowSize >*)this)->mpLine;
|
||||
((ImplHomMatrixTemplate< RowSize >*)this)->mpLine = 0L;
|
||||
delete const_cast<ImplHomMatrixTemplate< RowSize >*>(this)->mpLine;
|
||||
const_cast<ImplHomMatrixTemplate< RowSize >*>(this)->mpLine = 0L;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ namespace basegfx
|
|||
|
||||
const B2DVector& B2DVector::getEmptyVector()
|
||||
{
|
||||
return (const B2DVector&) B2DTuple::getEmptyTuple();
|
||||
return static_cast<const B2DVector&>( B2DTuple::getEmptyTuple() );
|
||||
}
|
||||
|
||||
B2DVector& B2DVector::operator*=( const B2DHomMatrix& rMat )
|
||||
|
|
|
@ -208,7 +208,7 @@ namespace basegfx
|
|||
|
||||
static const BColor& getEmptyBColor()
|
||||
{
|
||||
return (const BColor&) ::basegfx::B3DTuple::getEmptyTuple();
|
||||
return static_cast<const BColor&>( ::basegfx::B3DTuple::getEmptyTuple() );
|
||||
}
|
||||
|
||||
com::sun::star::uno::Sequence< double > colorToDoubleSequence(const com::sun::star::uno::Reference< com::sun::star::rendering::XGraphicDevice >& /*xGraphicDevice*/) const
|
||||
|
|
|
@ -124,7 +124,7 @@ namespace basegfx
|
|||
|
||||
static const B2DPoint& getEmptyPoint()
|
||||
{
|
||||
return (const B2DPoint&) ::basegfx::B2DTuple::getEmptyTuple();
|
||||
return static_cast<const B2DPoint&>( ::basegfx::B2DTuple::getEmptyTuple() );
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -124,7 +124,7 @@ namespace basegfx
|
|||
|
||||
static const B3DPoint& getEmptyPoint()
|
||||
{
|
||||
return (const B3DPoint&) ::basegfx::B3DTuple::getEmptyTuple();
|
||||
return static_cast<const B3DPoint&>( ::basegfx::B3DTuple::getEmptyTuple() );
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -249,7 +249,7 @@ namespace basegfx
|
|||
|
||||
static const B3DVector& getEmptyVector()
|
||||
{
|
||||
return (const B3DVector&) ::basegfx::B3DTuple::getEmptyTuple();
|
||||
return static_cast<const B3DVector&>( ::basegfx::B3DTuple::getEmptyTuple() );
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue