loplugin:fpcomparison in cppcanvas/
Change-Id: I23d7e217f2616b488579be0617dbc14cd407540f Reviewed-on: https://gerrit.libreoffice.org/21868 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
committed by
Noel Grandin
parent
4fccc4376c
commit
27a114e73f
@@ -126,8 +126,8 @@ namespace cppcanvas
|
||||
{
|
||||
const bool bOffsetting( !rOffset.equalZero() );
|
||||
const bool bScaling( pScaling &&
|
||||
pScaling->getX() != 1.0 &&
|
||||
pScaling->getY() != 1.0 );
|
||||
!rtl::math::approxEqual(pScaling->getX(), 1.0) &&
|
||||
!rtl::math::approxEqual(pScaling->getY(), 1.0) );
|
||||
const bool bRotation( pRotation &&
|
||||
*pRotation != 0.0 );
|
||||
|
||||
|
Reference in New Issue
Block a user