summaryrefslogtreecommitdiff
path: root/framework/inc/uielement
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2010-04-08 17:26:09 +0200
committerCarsten Driesner <cd@openoffice.org>2010-04-08 17:26:09 +0200
commit4c700c32a3f70c1d5ebe636fdd52f79feefe0d14 (patch)
treec206f239b9bcc3727ce71034696e507383dc7b69 /framework/inc/uielement
parente96760a74a9a65f99a5acfaeaf13fc31eb243d82 (diff)
fwk139: #i100512# Eliminate flicker when toolbar buttons make themselves invisible
Diffstat (limited to 'framework/inc/uielement')
-rw-r--r--framework/inc/uielement/toolbarmanager.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx
index 98894b623aea..7c73cc0754d9 100644
--- a/framework/inc/uielement/toolbarmanager.hxx
+++ b/framework/inc/uielement/toolbarmanager.hxx
@@ -59,6 +59,9 @@
#include <com/sun/star/ui/ItemStyle.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
+//shizhoubo
+#include <com/sun/star/frame/XToolbarController.hpp>
+//end
//_________________________________________________________________________________________________________________
// other includes
//_________________________________________________________________________________________________________________
@@ -181,6 +184,9 @@ class ToolBarManager : public ::com::sun::star::frame::XFrameActionListener
rtl::OUString RetrieveLabelFromCommand( const rtl::OUString& aCmdURL );
void CreateControllers();
void UpdateControllers();
+ //for update controller via Support Visiable by shizhoubo
+ void UpdateController( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XToolbarController > xController);
+ //end
void AddFrameActionListener();
void AddImageOrientationListener();
void UpdateImageOrientation();