summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-03 16:14:03 +0100
committerEike Rathke <erack@redhat.com>2016-08-03 17:08:53 +0000
commit715664eb09c460e7f00fe4d114b65bb34bb051a3 (patch)
tree126556dff328e0ede5e60f94d1d3ba1807890971
parentf9b830d7cd47c61cff3162fd396d81f29d205ce9 (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>
-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 7f74550281bd..c76cc4cfd990 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