Kaydet (Commit) 2608e2c9 authored tarafından Mark Hung's avatar Mark Hung

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/54616Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMark Hung <marklh9@gmail.com>
üst ebe5f65a
......@@ -1545,6 +1545,10 @@ interface DrawView
StateMethod = GetRulerState ;
]
SID_RULER_PROTECT // status()
[
StateMethod = GetRulerState ;
]
SID_RULER_TEXT_RIGHT_TO_LEFT
[
ExecMethod = ExecRuler ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment