summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-12-03 13:04:52 +0000
committerKurt Zenker <kz@openoffice.org>2004-12-03 13:04:52 +0000
commitc02fe38517fc48090872d55409e7ba5615e5e56d (patch)
tree9e5940b0d7c21f1634b4233f16392ad2fd0942a1 /framework
parentf88a34ac4e496905c83751e66801708ece19e8a5 (diff)
INTEGRATION: CWS fwkbeta01 (1.7.6); FILE MERGED
2004/12/01 12:56:24 as 1.7.6.1: #i37850# create controller dummies for non visible toolbar items to prevent getting of status updates, which are not usefully in such case
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/toolbarmanager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index 564ebe4dbee6..ed5f3e5badaa 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: toolbarmanager.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: rt $ $Date: 2004-11-29 10:57:14 $
+ * last change: $Author: kz $ $Date: 2004-12-03 14:04:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -979,7 +979,7 @@ void ToolBarManager::CreateControllers( const ControllerParamsVector& rControlle
}
}
- if ( !xController.is() )
+ if ( !xController.is() && m_pToolBar && m_pToolBar->IsItemVisible(nId) )
{
pController = CreateToolBoxController( m_xFrame, m_pToolBar, nId, aCommandURL );
if ( !pController )