diff options
Diffstat (limited to 'sc/source/ui/view/output2.cxx')
-rw-r--r-- | sc/source/ui/view/output2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index fa6f4022eac5..07a3a44546fc 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -189,8 +189,8 @@ ScDrawStringsVars::ScDrawStringsVars(ScOutputData* pData, bool bPTL) : eAttrOrient ( SVX_ORIENTATION_STANDARD ), eAttrHorJust( SVX_HOR_JUSTIFY_STANDARD ), eAttrVerJust( SVX_VER_JUSTIFY_BOTTOM ), - eAttrHorJustMethod( SVX_JUSTIFY_METHOD_AUTO ), - eAttrVerJustMethod( SVX_JUSTIFY_METHOD_AUTO ), + eAttrHorJustMethod( SvxCellJustifyMethod::Auto ), + eAttrVerJustMethod( SvxCellJustifyMethod::Auto ), pMargin ( nullptr ), nIndent ( 0 ), bRotated ( false ), @@ -1815,7 +1815,7 @@ Rectangle ScOutputData::LayoutStrings(bool bPixelToLogic, bool bPaint, const ScA { bNeedEdit = aVars.GetHorJust() == SVX_HOR_JUSTIFY_BLOCK && - aVars.GetHorJustMethod() == SVX_JUSTIFY_METHOD_DISTRIBUTE; + aVars.GetHorJustMethod() == SvxCellJustifyMethod::Distribute; } } if (bNeedEdit) |