sw/source/core/unocore/unosett.cxx | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-)
New commits: commit 339d10ba07604c5b9e6bf6e26f7e059eeda36b36 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed Dec 18 11:16:57 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Dec 20 17:03:19 2019 +0100 loplugin:duplicate-defines WID_NUMBERING_TYPE was duplicated, so just move all of the WIDs together, so it's easier to see when they overlap Change-Id: I5c61efc40f52fae88a3bfa950e50af325155c849 Reviewed-on: https://gerrit.libreoffice.org/85564 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx index b7658b949927..0cddeacbf68c 100644 --- a/sw/source/core/unocore/unosett.cxx +++ b/sw/source/core/unocore/unosett.cxx @@ -107,6 +107,16 @@ namespace #define WID_END_NOTICE 9 #define WID_BEGIN_NOTICE 10 #define WID_ANCHOR_CHARACTER_STYLE 11 +#define WID_NUM_ON 12 +#define WID_SEPARATOR_INTERVAL 13 +#define WID_NUMBER_POSITION 14 +#define WID_DISTANCE 15 +#define WID_INTERVAL 16 +#define WID_SEPARATOR_TEXT 17 +#define WID_COUNT_EMPTY_LINES 18 +#define WID_COUNT_LINES_IN_FRAMES 19 +#define WID_RESTART_AT_EACH_PAGE 20 + static const SfxItemPropertySet* GetFootnoteSet() { @@ -164,17 +174,6 @@ static const SfxItemPropertySet* GetNumberingRulesSet() return &aNumberingRulesSet_Impl; } -#define WID_NUM_ON 0 -#define WID_SEPARATOR_INTERVAL 1 -#define WID_NUMBERING_TYPE 2 -#define WID_NUMBER_POSITION 3 -#define WID_DISTANCE 4 -#define WID_INTERVAL 5 -#define WID_SEPARATOR_TEXT 6 -#define WID_COUNT_EMPTY_LINES 8 -#define WID_COUNT_LINES_IN_FRAMES 9 -#define WID_RESTART_AT_EACH_PAGE 10 - static const SfxItemPropertySet* GetLineNumberingSet() { static const SfxItemPropertyMapEntry aLineNumberingMap_Impl[] = _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits