diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-01-09 19:38:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-01-09 20:21:59 +0100 |
commit | 6efffbbfce9c27439f54970f7a569b069ce46eba (patch) | |
tree | cecff16ae5325875c3e6471170040c38859bff56 /filter | |
parent | 2ab481b038b62b1ff576ac4d49d03c1798cd7f84 (diff) |
Improve loplugin:redundantcast for sal_Int... vs. ::sal_Int...
Change-Id: I1548a76fdc03afee68f1e5c01bc665e616f2edf2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86501
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/icgm/actimpr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/icgm/actimpr.cxx b/filter/source/graphicfilter/icgm/actimpr.cxx index c892f5db9b68..d7fe844c066e 100644 --- a/filter/source/graphicfilter/icgm/actimpr.cxx +++ b/filter/source/graphicfilter/icgm/actimpr.cxx @@ -768,7 +768,7 @@ void CGMImpressOutAct::DrawText(awt::Point const & rTextPos, awt::Size const & r if ( nOrientation ) { - maXPropSet->setPropertyValue( "RotationPointX", uno::Any(static_cast<sal_Int32>( aTextPos.X )) ); + maXPropSet->setPropertyValue( "RotationPointX", uno::Any(aTextPos.X) ); maXPropSet->setPropertyValue( "RotationPointY", uno::Any(static_cast<sal_Int32>( aTextPos.Y + nHeight )) ); maXPropSet->setPropertyValue( "RotateAngle", uno::Any(static_cast<sal_Int32>( nOrientation * 100 )) ); } |