summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/output2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-15 14:47:51 +0200
committerNoel Grandin <noel@peralex.com>2016-08-17 08:45:15 +0200
commitfd0e67ce0d8cf84470b1414009ed1e0f81410b0f (patch)
tree40894cd63c18eb7c8967f1158c33c15f6069aac9 /sc/source/ui/view/output2.cxx
parent95be297746fda812f5a64e5fd53c753dfd9b249c (diff)
convert SvxCellJustifyMethod to scoped enum
Change-Id: Ifdb9192f6556477a28af05a74042f216d4e9e8fd
Diffstat (limited to 'sc/source/ui/view/output2.cxx')
-rw-r--r--sc/source/ui/view/output2.cxx6
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)