summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2018-05-21 16:34:50 +0800
committerMark Hung <marklh9@gmail.com>2018-05-30 15:18:08 +0200
commit2608e2c9808274a434c412b9ce4f7961a8c45cc9 (patch)
treeead127fdd54caa6fc7bf9cbf8f3c4529bdb2e328 /sd
parentebe5f65a8d0e90ff577ea54ba69a10b967463b1a (diff)
tdf#104376 activate existing protect item for the ruler.
SvxProtectItems were used to protect size and position of the rulers in Impress/Draw but weren't really activated because they were missing in the sdi of the view shell. See also: DrawViewShell::GetRulerState() in drviews3.cxx. Change-Id: I576932fb45acd996a3b6f3045dcbc131b7316ece Reviewed-on: https://gerrit.libreoffice.org/54616 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/sdi/_drvwsh.sdi4
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi
index a18924f36a13..5e24ed525be8 100644
--- a/sd/sdi/_drvwsh.sdi
+++ b/sd/sdi/_drvwsh.sdi
@@ -1545,6 +1545,10 @@ interface DrawView
StateMethod = GetRulerState ;
]
+ SID_RULER_PROTECT // status()
+ [
+ StateMethod = GetRulerState ;
+ ]
SID_RULER_TEXT_RIGHT_TO_LEFT
[
ExecMethod = ExecRuler ;