[Libreoffice-commits] core.git: sd/sdi

Mark Hung marklh9 at gmail.com
Wed May 30 13:18:32 UTC 2018


 sd/sdi/_drvwsh.sdi |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 2608e2c9808274a434c412b9ce4f7961a8c45cc9
Author: Mark Hung <marklh9 at gmail.com>
Date:   Mon May 21 16:34:50 2018 +0800

    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 at libreoffice.org>
    Reviewed-by: Mark Hung <marklh9 at gmail.com>

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 ;


More information about the Libreoffice-commits mailing list