summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
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 ) );