diff options
Diffstat (limited to 'svx/source/uitest/sdrobject.cxx')
-rw-r--r-- | svx/source/uitest/sdrobject.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/uitest/sdrobject.cxx b/svx/source/uitest/sdrobject.cxx index 0892556791d2..8229a454376f 100644 --- a/svx/source/uitest/sdrobject.cxx +++ b/svx/source/uitest/sdrobject.cxx @@ -144,7 +144,7 @@ void SdrUIObject::execute(const OUString& rAction, const StringMap& rParameters) throw css::uno::RuntimeException("missing parameter ANGLE"); double nAngle = itrAngle->second.toDouble(); - pObj->Rotate(aPos, nAngle, 0, 0); + pObj->Rotate(aPos, Degree100(sal_Int32(nAngle)), 0, 0); } else if (rAction == "Mirror") { @@ -152,7 +152,7 @@ void SdrUIObject::execute(const OUString& rAction, const StringMap& rParameters) } else if (rAction == "SHEAR") { - pObj->Shear(Point(), 0.0 /*nAngle*/, 0, false); + pObj->Shear(Point(), 0_deg100 /*nAngle*/, 0, false); } } |