[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - sc/inc

Caolán McNamara caolanm at redhat.com
Wed Aug 3 17:09:24 UTC 2016


 sc/inc/global.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 715664eb09c460e7f00fe4d114b65bb34bb051a3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Aug 3 16:14:03 2016 +0100

    Resolves: tdf#97193 restore pre 5-1 values for INS_INSROWS and INS_INSCOLS
    
    i.e. INS_INSCOLS_BEFORE and INS_INSROWS_BEFORE have the same
    meaning as the old INS_INSROWS and INS_INSCOWS, so reorder the enum
    so they are at the positions of their corresponding originals.
    
    This makes macros recorded before 5-1 work like they did prior to 5-1-0.
    This unfortunately will have the same effect to macros recorded during
    the 5-1 period that the original change did.
    
    regression since...
    
    commit f97beeef352fdd9fd4f157a7a4c4f6af8341cbe6
    Date:   Wed May 20 16:54:27 2015 +0200
    
        Calc: Insert row/col before/after [1/2]
    
        This part renames all INSROW / INSCOL to
        INSROWS_BEFORE / INSCOLS_BEFORE which is
        the current (default) behaviour.
    
    Change-Id: Ide90b8cfebe4af1a3718d93c34657663c20ccc62
    (cherry picked from commit 7ec4a495291c7427bba5256bf2c54f1da999ea52)
    Reviewed-on: https://gerrit.libreoffice.org/27835
    Reviewed-by: jan iversen <jani at documentfoundation.org>
    Tested-by: jan iversen <jani at documentfoundation.org>
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index 7f74550..c76cc4c 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -271,10 +271,10 @@ enum InsCellCmd
         INS_CELLSDOWN,
         INS_CELLSRIGHT,
         INS_INSROWS_BEFORE,
-        INS_INSROWS_AFTER,
         INS_INSCOLS_BEFORE,
-        INS_INSCOLS_AFTER,
-        INS_NONE
+        INS_NONE,
+        INS_INSROWS_AFTER,
+        INS_INSCOLS_AFTER
     };
 
 enum UpdateRefMode


More information about the Libreoffice-commits mailing list