summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsb.cxx
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
commite2280d56bfd8f963b4caea5b200a83be8664d5a3 (patch)
treeae636225330f808d1b793f17d2fcc07aa1a90e68 /sd/source/ui/view/drviewsb.cxx
parent603694c8c2f44ca225bf373fa1c2d977047c4f70 (diff)
CWS changehid: #i111874#: change code to support HelpIds as byte strings
Diffstat (limited to 'sd/source/ui/view/drviewsb.cxx')
-rw-r--r--sd/source/ui/view/drviewsb.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviewsb.cxx b/sd/source/ui/view/drviewsb.cxx
index 2574032e3d99..d7cc1fc1d84a 100644
--- a/sd/source/ui/view/drviewsb.cxx
+++ b/sd/source/ui/view/drviewsb.cxx
@@ -33,7 +33,7 @@
#ifndef _SVXIDS_HXX
#include <svx/svxids.hrc>
#endif
-
+#include <sfx2/msgpool.hxx>
#include <svx/hyprlink.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/hlnkitem.hxx>
@@ -127,7 +127,7 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
AbstractSdInsertLayerDlg* pDlg = pFact ? pFact->CreateSdInsertLayerDlg(NULL, aNewAttr, true, String( SdResId( STR_INSERTLAYER ) ) ) : 0;
if( pDlg )
{
- pDlg->SetHelpId( SID_INSERTLAYER );
+ pDlg->SetHelpId( SD_MOD()->GetSlotPool()->GetSlot( SID_INSERTLAYER )->GetCommand() );
// Ueberpruefung auf schon vorhandene Namen
BOOL bLoop = TRUE;
@@ -293,7 +293,7 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
AbstractSdInsertLayerDlg* pDlg = pFact ? pFact->CreateSdInsertLayerDlg(NULL, aNewAttr, bDelete, String( SdResId( STR_MODIFYLAYER ) ) ) : 0;
if( pDlg )
{
- pDlg->SetHelpId( SID_MODIFYLAYER );
+ pDlg->SetHelpId( SD_MOD()->GetSlotPool()->GetSlot( SID_MODIFYLAYER )->GetCommand() );
// Ueberpruefung auf schon vorhandene Namen
BOOL bLoop = TRUE;