summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/resourcemenucontroller.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/uielement/resourcemenucontroller.cxx b/framework/source/uielement/resourcemenucontroller.cxx
index 57674a1f2115..47c3f1ccd0f8 100644
--- a/framework/source/uielement/resourcemenucontroller.cxx
+++ b/framework/source/uielement/resourcemenucontroller.cxx
@@ -112,8 +112,7 @@ ResourceMenuController::~ResourceMenuController()
void ResourceMenuController::updatePopupMenu()
throw ( css::uno::RuntimeException, std::exception )
{
- if ( m_xMenuContainer.is() && !m_bContextMenu )
- // Container is still valid, no need to do anything on our side.
+ if ( ( m_xMenuContainer.is() && !m_bContextMenu ) || m_aMenuURL.isEmpty() )
return;
if ( m_aModuleName.isEmpty() )