[Libreoffice-commits] core.git: sc/inc

Caolán McNamara caolanm at redhat.com
Wed Aug 3 15:46:08 UTC 2016


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

New commits:
commit 7ec4a495291c7427bba5256bf2c54f1da999ea52
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

diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index 073d2ab2..c5492da 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -276,10 +276,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