summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-04 16:55:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-05 07:38:01 +0100
commitc26bdf54e065d4b6424e919fbf1f490e60390120 (patch)
tree9351839f1d3d76cbb3b490270fc01396da27d5a1 /reportdesign
parent18e85d91b5cc7ed3d3f9f163d3c211f29b54f7a2 (diff)
remove dead eeitemid.hxx
and inline the couple of constants still in use from it Change-Id: Icb9f5690b5649140bc0503a8917e6a0f764e3d9c Reviewed-on: https://gerrit.libreoffice.org/47404 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/ReportSection.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx
index 59c6b37b70ca..759b74027a85 100644
--- a/reportdesign/source/ui/report/ReportSection.cxx
+++ b/reportdesign/source/ui/report/ReportSection.cxx
@@ -30,7 +30,6 @@
#include <ViewsWindow.hxx>
#include <svx/svdpagv.hxx>
-#include <editeng/eeitemid.hxx>
#include <editeng/adjustitem.hxx>
#include <svx/sdrpaintwindow.hxx>
#include <svx/unoshape.hxx>
@@ -639,7 +638,7 @@ void OReportSection::createDefault(const OUString& _sType,SdrObject* _pObj)
}
if ( !bAttributesAppliedFromGallery )
{
- _pObj->SetMergedItem( SvxAdjustItem( SvxAdjust::Center ,ITEMID_ADJUST) );
+ _pObj->SetMergedItem( SvxAdjustItem( SvxAdjust::Center, EE_PARA_JUST) );
_pObj->SetMergedItem( SdrTextVertAdjustItem( SDRTEXTVERTADJUST_CENTER ) );
_pObj->SetMergedItem( SdrTextHorzAdjustItem( SDRTEXTHORZADJUST_BLOCK ) );
_pObj->SetMergedItem( makeSdrTextAutoGrowHeightItem( false ) );