summaryrefslogtreecommitdiff
path: root/sfx2/source/statbar
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-07-10 18:21:24 +0200
committerMathias Bauer <mba@openoffice.org>2010-07-10 18:21:24 +0200
commitf24b1da07ebfbc95e76af93fc9c7133f7d52daa5 (patch)
tree1d666fcdca0e60613c321b05a1371ab53fdb6e88 /sfx2/source/statbar
parentf8a801d058e39e89a71c85afdb0b1c1718f36b45 (diff)
CWS changehid: #i111874#: change code to support HelpIds as byte strings
Diffstat (limited to 'sfx2/source/statbar')
-rw-r--r--sfx2/source/statbar/stbitem.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index defccd4e23be..9b5fbd2d5d4e 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -132,7 +132,12 @@ svt::StatusbarController* SAL_CALL SfxStatusBarControllerFactory(
{
USHORT nSlotId = pSlot->GetSlotId();
if ( nSlotId > 0 )
+ {
+ rtl::OString aCmd(".uno:");
+ aCmd += pSlot->GetUnoName();
return SfxStatusBarControl::CreateControl( nSlotId, nID, pStatusBar, pModule );
+ pStatusBar->SetHelpId( nSlotId, aCmd );
+ }
}
return NULL;