summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/fuins1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/drawfunc/fuins1.cxx')
-rw-r--r--sc/source/ui/drawfunc/fuins1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/fuins1.cxx b/sc/source/ui/drawfunc/fuins1.cxx
index 617532f7e434..4187300e3428 100644
--- a/sc/source/ui/drawfunc/fuins1.cxx
+++ b/sc/source/ui/drawfunc/fuins1.cxx
@@ -108,8 +108,8 @@ static void lcl_InsertGraphic( const Graphic& rGraphic,
GraphicNativeMetadata aMetadata;
if ( aMetadata.read(rGraphic1) )
{
- const sal_uInt16 aRotation = aMetadata.getRotation();
- if (aRotation != 0)
+ const Degree10 aRotation = aMetadata.getRotation();
+ if (aRotation)
{
std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(nullptr, VclMessageType::Question,VclButtonsType::YesNo,ScResId(STR_QUERYROTATION)));
if (xQueryBox->run() == RET_YES)