From 144546b622fd6146e023efe27b74f1271ff47008 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Sun, 21 Feb 2016 02:21:06 +0200 Subject: tdf#93837 Convert RID_POPUP_DLGED to xml Change-Id: I0588063aef397ee95923ad5acd332bc6052fafc7 --- basctl/source/basicide/baside3.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basctl/source/basicide/baside3.cxx') diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx index 72a7ab7ce535..36855cb8d946 100644 --- a/basctl/source/basicide/baside3.cxx +++ b/basctl/source/basicide/baside3.cxx @@ -195,7 +195,7 @@ void DialogWindow::Command( const CommandEvent& rCEvt ) } else if ( rCEvt.GetCommand() == CommandEventId::ContextMenu ) { - if (SfxDispatcher* pDispatcher = GetDispatcher()) + if (GetDispatcher()) { SdrView& rView = GetView(); if( !rCEvt.IsMouseEvent() && rView.AreObjectsMarked() ) @@ -203,11 +203,11 @@ void DialogWindow::Command( const CommandEvent& rCEvt ) Rectangle aMarkedRect( rView.GetMarkedRect() ); Point MarkedCenter( aMarkedRect.Center() ); Point PosPixel( LogicToPixel( MarkedCenter ) ); - pDispatcher->ExecutePopup( IDEResId(RID_POPUP_DLGED), this, &PosPixel ); + SfxDispatcher::ExecutePopup( this, &PosPixel ); } else { - pDispatcher->ExecutePopup( IDEResId(RID_POPUP_DLGED) ); + SfxDispatcher::ExecutePopup(); } } -- cgit