summaryrefslogtreecommitdiff
path: root/sw/source/ui/dochdl
diff options
context:
space:
mode:
authorManal Alhassoun <malhassoun@kacst.edu.sa>2013-11-27 13:33:09 +0300
committerCaolán McNamara <caolanm@redhat.com>2013-11-27 05:22:55 -0600
commitb5fced896632a3c07586702b461545667b33966e (patch)
tree0d956a07baf88a60d0d4336e4e979155f9590810 /sw/source/ui/dochdl
parent422e84ecbc6c13c07d8da1c05c085bd3d83f69bc (diff)
convert Rotate into standard orientation querybox to .ui
Change-Id: Id85362c0930a4156e569bd4c6b13aa94213f09c7 Reviewed-on: https://gerrit.libreoffice.org/6826 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui/dochdl')
-rw-r--r--sw/source/ui/dochdl/swdtflvr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx
index 045cf6c3e4e9..98e9d1de6151 100644
--- a/sw/source/ui/dochdl/swdtflvr.cxx
+++ b/sw/source/ui/dochdl/swdtflvr.cxx
@@ -381,7 +381,7 @@ namespace
sal_uInt16 aRotation = aMetadata.getRotation();
if (aRotation != 0)
{
- QueryBox aQueryBox(0, WB_YES_NO | WB_DEF_YES, SW_RES(STR_ROTATE_TO_STANDARD_ORIENTATION) );
+ MessageDialog aQueryBox( 0,"QueryRotateIntoStandardOrientationDialog","modules/swriter/ui/queryrotateintostandarddialog.ui");
if (aQueryBox.Execute() == RET_YES)
{
GraphicNativeTransform aTransform( aGraphic );