summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/helpids.h1
-rw-r--r--sc/source/ui/view/tabvwsh3.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/helpids.h b/sc/inc/helpids.h
index aff92df68d95..af47f5b2890a 100644
--- a/sc/inc/helpids.h
+++ b/sc/inc/helpids.h
@@ -67,6 +67,7 @@
// Help IDs for Submenus (max.50) --------------------------------------------
#define HID_PASSWD_TABLE "SC_HID_PASSWD_TABLE"
#define HID_PASSWD_DOC "SC_HID_PASSWD_DOC"
+#define HID_PASSWD_DOC_CONFIRM "SC_HID_PASSWD_DOC_CONFIRM"
// Other help IDs (max.70) ---------------------------------------------------
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index a8f077644c45..1ef15d9f6ed6 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -1080,6 +1080,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
pDlg->SetHelpId( GetStaticInterface()->GetSlot(FID_PROTECT_DOC)->GetCommand() );
pDlg->SetEditHelpId( HID_PASSWD_DOC );
pDlg->ShowExtras( SfxShowExtras::CONFIRM );
+ pDlg->SetConfirmHelpId( HID_PASSWD_DOC_CONFIRM );
if (pDlg->Execute() == RET_OK)
{