diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2016-10-18 11:20:10 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-10-18 17:27:57 +0300 |
commit | 1cb46e27475d5b026de0e5aafb339ca16a26822c (patch) | |
tree | c3f2527165275ec24cf0911461f5852454c800b7 /framework/source | |
parent | 49de6446bcb20fd5898b2c9e0cca218902c9474d (diff) |
Avoid warning when opening the save dropdown
Change-Id: I92980d8d9326b8c0ed865d2ce796dccb7729e3e7
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/uielement/resourcemenucontroller.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/source/uielement/resourcemenucontroller.cxx b/framework/source/uielement/resourcemenucontroller.cxx index 02011c72e81c..12d3d0946dc3 100644 --- a/framework/source/uielement/resourcemenucontroller.cxx +++ b/framework/source/uielement/resourcemenucontroller.cxx @@ -85,6 +85,9 @@ ResourceMenuController::ResourceMenuController( const css::uno::Reference< css:: { OUString aMenuName; aPropValue.Value >>= aMenuName; + if ( aMenuName.isEmpty() ) + continue; + if ( m_bToolbarContainer ) m_aMenuURL = "private:resource/toolbar/" + aMenuName; else |