summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/core/uwriter.cxx2
-rw-r--r--sw/source/core/doc/tblafmt.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx
index 76dbb783faf3..f2c0fa9e170d 100644
--- a/sw/qa/core/uwriter.cxx
+++ b/sw/qa/core/uwriter.cxx
@@ -1250,7 +1250,7 @@ void SwDocTest::testTableAutoFormats()
SvxHorJustifyItem aHJustify( SvxCellHorJustify::Center, 0 );
aBoxAF.m_aHorJustify = aHJustify;
//Set m_aVerJustify
- SvxVerJustifyItem aVJustify( SVX_VER_JUSTIFY_CENTER , 0 );
+ SvxVerJustifyItem aVJustify( SvxCellVerJustify::Center , 0 );
aBoxAF.m_aVerJustify = aVJustify;
//Set m_aStacked
aBoxAF.m_aStacked.SetValue( true );
diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx
index a0a8a1ee25bc..4c66817309de 100644
--- a/sw/source/core/doc/tblafmt.cxx
+++ b/sw/source/core/doc/tblafmt.cxx
@@ -291,7 +291,7 @@ SwBoxAutoFormat::SwBoxAutoFormat()
m_aTextOrientation(SvxFrameDirection::Environment, RES_FRAMEDIR),
m_aVerticalAlignment(0, css::text::VertOrientation::NONE, css::text::RelOrientation::FRAME),
m_aHorJustify( SvxCellHorJustify::Standard, 0),
- m_aVerJustify( SVX_VER_JUSTIFY_STANDARD, 0),
+ m_aVerJustify( SvxCellVerJustify::Standard, 0),
m_aStacked( 0 ),
m_aMargin( 0 ),
m_aLinebreak( 0 ),