[Libreoffice-commits] core.git: sw/inc sw/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 20 12:35:22 UTC 2019


 sw/inc/unoprnms.hxx               |    9 ---------
 sw/source/core/access/accpara.cxx |    1 +
 2 files changed, 1 insertion(+), 9 deletions(-)

New commits:
commit 104007387c8bd68bcf1a3f876df9e993948f37da
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Dec 18 11:17:25 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Dec 20 13:33:53 2019 +0100

    loplugin:duplicate-defines
    
    already defined in include/editeng/unoprnms.hxx
    
    Change-Id: I65457d8a98861e5164722b04b4f9acef9c1385a6
    Reviewed-on: https://gerrit.libreoffice.org/85565
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sw/inc/unoprnms.hxx b/sw/inc/unoprnms.hxx
index 5d4035aada55..fdcc88442bc4 100644
--- a/sw/inc/unoprnms.hxx
+++ b/sw/inc/unoprnms.hxx
@@ -83,9 +83,6 @@
 #define UNO_NAME_CHAR_FONT_FAMILY "CharFontFamily"
 #define UNO_NAME_CHAR_FONT_CHAR_SET "CharFontCharSet"
 #define UNO_NAME_CHAR_FONT_PITCH "CharFontPitch"
-#define UNO_NAME_CHAR_POSTURE "CharPosture"
-#define UNO_NAME_CHAR_WEIGHT "CharWeight"
-#define UNO_NAME_CHAR_HEIGHT "CharHeight"
 #define UNO_NAME_CHAR_LOCALE "CharLocale"
 #define UNO_NAME_CHAR_FONT_NAME_ASIAN "CharFontNameAsian"
 #define UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN "CharFontStyleNameAsian"
@@ -106,12 +103,10 @@
 #define UNO_NAME_CHAR_HEIGHT_COMPLEX "CharHeightComplex"
 #define UNO_NAME_CHAR_LOCALE_COMPLEX "CharLocaleComplex"
 #define UNO_NAME_CHAR_AUTO_KERNING "CharAutoKerning"
-#define UNO_NAME_CHAR_UNDERLINE "CharUnderline"
 #define UNO_NAME_CHAR_UNDERLINE_COLOR "CharUnderlineColor"
 #define UNO_NAME_CHAR_UNDERLINE_HAS_COLOR "CharUnderlineHasColor"
 #define UNO_NAME_CHAR_ESCAPEMENT "CharEscapement"
 #define UNO_NAME_CHAR_CASE_MAP "CharCaseMap"
-#define UNO_NAME_CHAR_SHADOWED "CharShadowed"
 #define UNO_NAME_CHAR_STRIKEOUT "CharStrikeout"
 #define UNO_NAME_CHAR_CROSSED_OUT "CharCrossedOut"
 #define UNO_NAME_CHAR_NO_HYPHENATION "CharNoHyphenation"
@@ -123,7 +118,6 @@
 #define UNO_NAME_CHAR_PROP_HEIGHT_COMPLEX "CharPropHeightComplex"
 #define UNO_NAME_CHAR_DIFF_HEIGHT_COMPLEX "CharDiffHeightComplex"
 #define UNO_NAME_CHAR_ESCAPEMENT_HEIGHT "CharEscapementHeight"
-#define UNO_NAME_CHAR_COLOR "CharColor"
 #define UNO_NAME_HIDE_TAB_LEADER_AND_PAGE_NUMBERS "HideTabLeaderAndPageNumber"
 #define UNO_NAME_TAB_IN_TOC "TabInTOC"
 #define UNO_NAME_TOC_BOOKMARK "TOCBookmark"
@@ -148,7 +142,6 @@
 #define UNO_NAME_BEGIN_NOTICE "BeginNotice"
 #define UNO_NAME_FRAME_STYLE_NAME "FrameStyleName"
 #define UNO_NAME_NUMBERING_STYLE_NAME "NumberingStyleName"
-#define UNO_NAME_NUMBERING_LEVEL "NumberingLevel"
 #define UNO_NAME_NUMBERING_START_VALUE "NumberingStartValue"
 #define UNO_NAME_NUMBERING_IS_NUMBER "NumberingIsNumber"
 #define UNO_NAME_COUNT_LINES_IN_FRAMES "CountLinesInFrames"
@@ -281,7 +274,6 @@
 #define UNO_NAME_PARA_SPLIT "ParaSplit"
 #define UNO_NAME_NUMBER_FORMAT "NumberFormat"
 #define UNO_NAME_NUMBERING_TYPE "NumberingType"
-#define UNO_NAME_NUMBERING_RULES "NumberingRules"
 #define UNO_NAME_OFFSET "Offset"
 #define UNO_NAME_ON "On"
 #define UNO_NAME_OPAQUE "Opaque"
@@ -547,7 +539,6 @@
 #define UNO_NAME_GAMMA "Gamma"
 #define UNO_NAME_GRAPHIC_IS_INVERTED "GraphicIsInverted"
 #define UNO_NAME_TRANSPARENCY "Transparency"
-#define UNO_NAME_GRAPHIC_COLOR_MODE "GraphicColorMode"
 #define UNO_NAME_REDLINE_AUTHOR "RedlineAuthor"
 #define UNO_NAME_REDLINE_DATE_TIME "RedlineDateTime"
 #define UNO_NAME_REDLINE_COMMENT "RedlineComment"
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx
index 1df390906ce9..331cc1a7c2fd 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -72,6 +72,7 @@
 #include <com/sun/star/awt/FontSlant.hpp>
 #include <wrong.hxx>
 #include <editeng/brushitem.hxx>
+#include <editeng/unoprnms.hxx>
 #include <swatrset.hxx>
 #include <unosett.hxx>
 #include <unomap.hxx>


More information about the Libreoffice-commits mailing list