From 5a2c13a79a639a8ed98873d3acd7ed074c2b00b5 Mon Sep 17 00:00:00 2001 From: Joel Madero Date: Mon, 12 Aug 2013 21:42:46 -0700 Subject: [PATCH] fdo#59981 Rearrange Ruler Tab Stops Per request by user rearranged ruler tab stop order in order to put least used one at the bottom of the list. Previously the order was Left, Right, Decimal, Center, now it is Left, Right, Center, Decimal modified: include/svtools/ruler.hxx modified: include/svx/dialogs.hrc modified: svx/source/dialog/ruler.src Change-Id: I1e59dcad4ee476d2d67339e973eedc96f406ec28 Reviewed-on: https://gerrit.libreoffice.org/5381 Reviewed-by: Tor Lillqvist Tested-by: Tor Lillqvist --- include/svtools/ruler.hxx | 4 ++-- include/svx/dialogs.hrc | 5 +++-- svx/source/dialog/ruler.src | 8 ++++---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index b37aa817be2b..1ef4c86978e2 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -561,8 +561,8 @@ struct RulerIndent #define RULER_TAB_LEFT ((sal_uInt16)0x0000) #define RULER_TAB_RIGHT ((sal_uInt16)0x0001) -#define RULER_TAB_DECIMAL ((sal_uInt16)0x0002) -#define RULER_TAB_CENTER ((sal_uInt16)0x0003) +#define RULER_TAB_CENTER ((sal_uInt16)0x0002) +#define RULER_TAB_DECIMAL ((sal_uInt16)0x0003) #define RULER_TAB_DEFAULT ((sal_uInt16)0x0004) #define RULER_TAB_STYLE ((sal_uInt16)0x000F) #define RULER_TAB_RTL ((sal_uInt16)0x0010) diff --git a/include/svx/dialogs.hrc b/include/svx/dialogs.hrc index b57e02ff7a8b..f5f01668638f 100644 --- a/include/svx/dialogs.hrc +++ b/include/svx/dialogs.hrc @@ -298,8 +298,9 @@ #define RID_SVXSTR_RULER_START (RID_SVX_START + 245) #define RID_SVXSTR_RULER_TAB_LEFT (RID_SVX_START + 245) #define RID_SVXSTR_RULER_TAB_RIGHT (RID_SVX_START + 246) -#define RID_SVXSTR_RULER_TAB_DECIMAL (RID_SVX_START + 247) -#define RID_SVXSTR_RULER_TAB_CENTER (RID_SVX_START + 248) +#define RID_SVXSTR_RULER_TAB_CENTER (RID_SVX_START + 247) +#define RID_SVXSTR_RULER_TAB_DECIMAL (RID_SVX_START + 248) + // Close (in TabDialog line/aria) #define RID_SVXSTR_CLOSE (RID_SVX_START + 260) diff --git a/svx/source/dialog/ruler.src b/svx/source/dialog/ruler.src index 529a766ffa1b..acceba4f410f 100644 --- a/svx/source/dialog/ruler.src +++ b/svx/source/dialog/ruler.src @@ -100,13 +100,13 @@ String RID_SVXSTR_RULER_TAB_RIGHT { Text [ en-US ] = "Right" ; }; -String RID_SVXSTR_RULER_TAB_DECIMAL -{ - Text [ en-US ] = "Decimal" ; -}; String RID_SVXSTR_RULER_TAB_CENTER { Text [ en-US ] = "Center" ; }; +String RID_SVXSTR_RULER_TAB_DECIMAL +{ + Text [ en-US ] = "Decimal" ; +}; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */