diff options
Diffstat (limited to 'sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx')
-rwxr-xr-x | sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx b/sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx index 8dab51e93a58..d7c96252136c 100755 --- a/sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx +++ b/sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx @@ -45,6 +45,7 @@ #include "sdresid.hxx" #include "helpids.h" #include <svtools/valueset.hxx> +#include "app.hrc" namespace sd { namespace toolpanel { namespace controls { @@ -73,9 +74,9 @@ void MasterPagesPanel::impl_construct( ViewShellBase& rBase ) rBase, pContainer)); pSelector->LateInit(); - pSelector->SetSmartHelpId( SmartId(HID_SD_TASK_PANE_PREVIEW_CURRENT) ); + pSelector->SetHelpId( HID_SD_TASK_PANE_PREVIEW_CURRENT ); GetShellManager()->AddSubShell( - HID_SD_TASK_PANE_PREVIEW_CURRENT, + SHELLID_SD_TASK_PANE_PREVIEW_CURRENT, pSelector.get(), pSelector->GetWindow()); pTitledControl = AddControl ( @@ -90,9 +91,9 @@ void MasterPagesPanel::impl_construct( ViewShellBase& rBase ) rBase, pContainer)); pSelector->LateInit(); - pSelector->SetSmartHelpId( SmartId(HID_SD_TASK_PANE_PREVIEW_RECENT) ); + pSelector->SetHelpId( HID_SD_TASK_PANE_PREVIEW_RECENT ); GetShellManager()->AddSubShell( - HID_SD_TASK_PANE_PREVIEW_RECENT, + SHELLID_SD_TASK_PANE_PREVIEW_RECENT, pSelector.get(), pSelector->GetWindow()); pTitledControl = AddControl ( @@ -108,9 +109,9 @@ void MasterPagesPanel::impl_construct( ViewShellBase& rBase ) *pDrawViewShell, pContainer)); pSelector->LateInit(); - pSelector->SetSmartHelpId( SmartId(HID_SD_TASK_PANE_PREVIEW_ALL) ); + pSelector->SetHelpId( HID_SD_TASK_PANE_PREVIEW_ALL ); GetShellManager()->AddSubShell( - HID_SD_TASK_PANE_PREVIEW_ALL, + SHELLID_SD_TASK_PANE_PREVIEW_ALL, pSelector.get(), pSelector->GetWindow()); pTitledControl = AddControl ( @@ -129,9 +130,9 @@ MasterPagesPanel::~MasterPagesPanel (void) OSL_ENSURE( pShellManager, "MasterPagesPanel::~MasterPagesPanel: no shell manager anymore - cannot remove sub shells!" ); if ( pShellManager ) { - pShellManager->RemoveSubShell( HID_SD_TASK_PANE_PREVIEW_CURRENT ); - pShellManager->RemoveSubShell( HID_SD_TASK_PANE_PREVIEW_RECENT ); - pShellManager->RemoveSubShell( HID_SD_TASK_PANE_PREVIEW_ALL ); + pShellManager->RemoveSubShell( SHELLID_SD_TASK_PANE_PREVIEW_CURRENT ); + pShellManager->RemoveSubShell( SHELLID_SD_TASK_PANE_PREVIEW_RECENT ); + pShellManager->RemoveSubShell( SHELLID_SD_TASK_PANE_PREVIEW_ALL ); } } |