summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sidebar/possize/PosSizePropertyPanel.cxx')
-rw-r--r--svx/source/sidebar/possize/PosSizePropertyPanel.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
index 21c485f19f7a..ed22fa0331c1 100644
--- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
+++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx
@@ -41,9 +41,6 @@
using namespace css;
using namespace css::uno;
-const char UNO_FLIPHORIZONTAL[] = ".uno:FlipHorizontal";
-const char UNO_FLIPVERTICAL[] = ".uno:FlipVertical";
-
const char USERITEM_NAME[] = "FitItem";
namespace svx { namespace sidebar {
@@ -489,13 +486,13 @@ IMPL_LINK( PosSizePropertyPanel, FlipHdl, ToolBox*, pBox, void )
{
const OUString aCommand(pBox->GetItemCommand(pBox->GetCurItemId()));
- if(aCommand == UNO_FLIPHORIZONTAL)
+ if(aCommand == ".uno:FlipHorizontal")
{
SfxVoidItem aHoriItem(SID_FLIP_HORIZONTAL);
GetBindings()->GetDispatcher()->ExecuteList(SID_FLIP_HORIZONTAL,
SfxCallMode::RECORD, { &aHoriItem });
}
- else if(aCommand == UNO_FLIPVERTICAL)
+ else if(aCommand == ".uno:FlipVertical")
{
SfxVoidItem aVertItem(SID_FLIP_VERTICAL);
GetBindings()->GetDispatcher()->ExecuteList(SID_FLIP_VERTICAL,