summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-03 16:14:03 +0100
committerAndras Timar <andras.timar@collabora.com>2016-08-15 10:25:51 +0200
commit47ef59ffa57ce18ef439f0b79a44e2a12a7f2209 (patch)
tree7e11b4920b48b99957e6a8e3f909dc32f0df1ed7
parent039c12b1aac8bad8a2578dd889c5ec44aac19e5c (diff)
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@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 715664eb09c460e7f00fe4d114b65bb34bb051a3)
-rw-r--r--sc/inc/global.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index 9c37703f4d1c..b236dd7b41ae 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