summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-05-10 14:32:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-05-10 14:32:38 +0200
commitb43f5ccb6b09493daee401d2dd1f907e23ad6c3e (patch)
tree765f93684545e000356badc8c02c8959f68c41a5 /framework/inc
parenta50a33c3a7505f78d1ab82b746f1234f404e411e (diff)
Reduce broadcasting noise on initial title computation
...otherwise, SfxBaseModel::getTitle calls itself recursively until TitleHelper::m_sTitle has converged. Change-Id: I90577d1c2e4275ff2187d6531a1ca61e8355819b
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/framework/titlehelper.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/inc/framework/titlehelper.hxx b/framework/inc/framework/titlehelper.hxx
index a86bbaf95b34..2fe67979d582 100644
--- a/framework/inc/framework/titlehelper.hxx
+++ b/framework/inc/framework/titlehelper.hxx
@@ -163,10 +163,10 @@ class FWE_DLLPUBLIC TitleHelper : private ::cppu::BaseMutex
void impl_sendTitleChangedEvent ();
- void impl_updateTitle ();
- void impl_updateTitleForModel (const css::uno::Reference< css::frame::XModel >& xModel);
- void impl_updateTitleForController (const css::uno::Reference< css::frame::XController >& xController);
- void impl_updateTitleForFrame (const css::uno::Reference< css::frame::XFrame >& xFrame);
+ void impl_updateTitle (bool init = false);
+ void impl_updateTitleForModel (const css::uno::Reference< css::frame::XModel >& xModel, bool init);
+ void impl_updateTitleForController (const css::uno::Reference< css::frame::XController >& xController, bool init);
+ void impl_updateTitleForFrame (const css::uno::Reference< css::frame::XFrame >& xFrame, bool init);
void impl_startListeningForModel (const css::uno::Reference< css::frame::XModel >& xModel);
void impl_startListeningForController (const css::uno::Reference< css::frame::XController >& xController);