summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source')
-rw-r--r--basctl/source/basicide/baside3.cxx6
-rw-r--r--basctl/source/basicide/basidesh.cxx2
-rw-r--r--basctl/source/basicide/basidesh.src14
3 files changed, 4 insertions, 18 deletions
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();
}
}
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index 5758dec8c716..54c92e6d6ee8 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -139,7 +139,7 @@ void basctl_Shell::InitInterface_Impl()
GetStaticInterface()->RegisterChildWindow(SID_SHOW_PROPERTYBROWSER, false, BASICIDE_UI_FEATURE_SHOW_BROWSER);
GetStaticInterface()->RegisterChildWindow(SfxInfoBarContainerChild::GetChildWindowId());
- GetStaticInterface()->RegisterPopupMenu(IDEResId(RID_POPUP_DLGED));
+ GetStaticInterface()->RegisterPopupMenu("dialog");
}
unsigned Shell::nShellCount = 0;
diff --git a/basctl/source/basicide/basidesh.src b/basctl/source/basicide/basidesh.src
index 65c706635e74..357c0069a8d6 100644
--- a/basctl/source/basicide/basidesh.src
+++ b/basctl/source/basicide/basidesh.src
@@ -444,20 +444,6 @@ Menu RID_POPUP_TABBAR
};
};
-Menu RID_POPUP_DLGED
-{
- DefaultItemId = SID_SHOW_PROPERTYBROWSER ;
- ItemList =
- {
- MenuItem
- {
- Identifier = SID_SHOW_PROPERTYBROWSER ;
- HelpId = CMD_SID_SHOW_PROPERTYBROWSER ;
- Text [ en-US ] = "Properties...";
- };
- };
-};
-
ImageList RID_IMGLST_LAYOUT
{
Prefix = "im";