summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-17 15:54:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-18 09:18:23 +0100
commit0a41d401a0c6460219f3c57cbb75d79ba13ad8a3 (patch)
tree2f06571cc85400a8c8d2ac43587b8c2d5d276300
parentb85810637d2475496a3055ae8c3f36a5a104a9a1 (diff)
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@collabora.co.uk>
-rw-r--r--include/svx/unomid.hxx9
-rw-r--r--reportdesign/source/ui/misc/UITools.cxx1
2 files changed, 1 insertions, 9 deletions
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>