[Libreoffice-commits] core.git: include/svx reportdesign/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 18 08:19:37 UTC 2019


 include/svx/unomid.hxx                  |    9 ---------
 reportdesign/source/ui/misc/UITools.cxx |    1 +
 2 files changed, 1 insertion(+), 9 deletions(-)

New commits:
commit 0a41d401a0c6460219f3c57cbb75d79ba13ad8a3
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Dec 17 15:54:33 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Dec 18 09:18:23 2019 +0100

    loplugin:duplicate-defines
    
    looks like these were left behind when the associated *Item classes were
    moved from svx to editeng
    
    Change-Id: I09bf48396e18a9f1a6dddb65618affc782777c25
    Reviewed-on: https://gerrit.libreoffice.org/85341
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/svx/unomid.hxx b/include/svx/unomid.hxx
index 45d6a83d2c7e..fe07fee51054 100644
--- a/include/svx/unomid.hxx
+++ b/include/svx/unomid.hxx
@@ -19,11 +19,6 @@
 #ifndef INCLUDED_SVX_UNOMID_HXX
 #define INCLUDED_SVX_UNOMID_HXX
 
-//AdjustItem
-#define MID_PARA_ADJUST         0
-#define MID_LAST_LINE_ADJUST    1
-#define MID_EXPAND_SINGLE       2
-
 //SvxPageItem
 #define MID_PAGE_NUMTYPE        0
 #define MID_PAGE_ORIENTATION    1
@@ -50,10 +45,6 @@
 // XFillBitmapItem (is also a NameOrIndex)
 #define MID_BITMAP              8
 
-// SvxHorJustifyItem
-#define MID_HORJUST_HORJUST     0
-#define MID_HORJUST_ADJUST      1
-
 // SvxObjectItem
 #define MID_START_X             1
 #define MID_START_Y             2
diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx
index bf4d9a98d9f5..ab52f063f2ca 100644
--- a/reportdesign/source/ui/misc/UITools.cxx
+++ b/reportdesign/source/ui/misc/UITools.cxx
@@ -68,6 +68,7 @@
 #include <editeng/charreliefitem.hxx>
 #include <editeng/charrotateitem.hxx>
 #include <editeng/charhiddenitem.hxx>
+#include <editeng/memberids.h>
 #include <svx/xgrscit.hxx>
 #include <svx/svditer.hxx>
 #include <svx/xtable.hxx>


More information about the Libreoffice-commits mailing list