diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/drawfunc/fuins1.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/fuins1.cxx b/sc/source/ui/drawfunc/fuins1.cxx index 31b597e9ea19..5c7bac6ce2a6 100644 --- a/sc/source/ui/drawfunc/fuins1.cxx +++ b/sc/source/ui/drawfunc/fuins1.cxx @@ -113,7 +113,9 @@ static void lcl_InsertGraphic( const Graphic& rGraphic, if (aRotation) { std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(nullptr, VclMessageType::Question,VclButtonsType::YesNo,ScResId(STR_QUERYROTATION))); - if (xQueryBox->run() == RET_YES) + // tdf#145819 Apply the rotation information if the user does NOT want to unrotate the image + // If they chose Yes we ignore the rotation + if (xQueryBox->run() == RET_NO) { GraphicNativeTransform aTransform( rGraphic1 ); aTransform.rotate( aRotation ); |