From 4b35bffa0ec7295718fa59280b495972d86d7af8 Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Mon, 27 Jul 2015 17:48:47 +0300 Subject: [PATCH] Fix image update of DROPDOWNONLY buttons Change-Id: I787878d6ac02d15286a405ccfcc1f09f04c39501 --- framework/source/uielement/subtoolbarcontroller.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/source/uielement/subtoolbarcontroller.cxx b/framework/source/uielement/subtoolbarcontroller.cxx index 3a06a104ec2e..755b43b400f3 100644 --- a/framework/source/uielement/subtoolbarcontroller.cxx +++ b/framework/source/uielement/subtoolbarcontroller.cxx @@ -260,7 +260,7 @@ css::uno::Reference< css::awt::XWindow > SubToolBarController::createPopupWindow sal_Bool SubToolBarController::opensSubToolbar() throw ( css::uno::RuntimeException, std::exception ) { - return sal_True; + return !m_aLastCommand.isEmpty(); } OUString SubToolBarController::getSubToolbarName()