summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2017-02-21 04:20:49 +0100
committerEike Rathke <erack@redhat.com>2017-03-02 18:25:57 +0000
commit51c0054a6fb956ff758206b4113ae2e76f82f5d4 (patch)
tree432fded7203897f56a4b2f5229548e6e0036f71c /include
parentUpdated core (diff)
downloadcore-51c0054a6fb956ff758206b4113ae2e76f82f5d4.tar.gz
core-51c0054a6fb956ff758206b4113ae2e76f82f5d4.zip
tdf#60874 Set custom HID for Protect Document window
The window has its own help page but the SfxPasswordDialog has a default help page as well. We need to use custom help IDs here. The Password entry already has a custom HID however it is used on the default help page of SfxPasswordDialog. We need to set a custom help ID for the Confirm entry and use it in the scalc/01/06060200.xhp file like the one belonging to the Password entry. Change-Id: I9344c85cf362a1829202664315f8c8be0a265b59 Reviewed-on: https://gerrit.libreoffice.org/34501 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/passwd.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sfx2/passwd.hxx b/include/sfx2/passwd.hxx
index 1c8984f1b5ac..7c1a5c79b598 100644
--- a/include/sfx2/passwd.hxx
+++ b/include/sfx2/passwd.hxx
@@ -112,6 +112,13 @@ public:
{
mpPassword1ED->SetHelpId( rId );
}
+ /* tdf#60874 we need a custom help ID for the Confirm
+ field of the Protect Document window */
+ void SetConfirmHelpId(const OString& rId)
+ {
+ mpConfirm1ED->SetHelpId( rId );
+ }
+
void ShowExtras(SfxShowExtras nExtras)
{
mnExtras = nExtras;