diff options
author | Mathias Bauer <mba@openoffice.org> | 2010-07-10 18:21:24 +0200 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2010-07-10 18:21:24 +0200 |
commit | f24b1da07ebfbc95e76af93fc9c7133f7d52daa5 (patch) | |
tree | 1d666fcdca0e60613c321b05a1371ab53fdb6e88 /sfx2/source/statbar | |
parent | f8a801d058e39e89a71c85afdb0b1c1718f36b45 (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.cxx | 5 |
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; |