summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-03-13 11:54:05 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-14 06:40:45 +0000
commit0960ea6de3ecb0b64deea308a3362a08628adc60 (patch)
treecb7569636a22c76e8c8fe292cdf59d97b86d39d3 /sc/source
parentf6678c297b3eb119a928344792951886d1d6ca53 (diff)
sc: change nDirection type to enum
Change-Id: Icaa71f99de7c97d1a9601ad00d2a6b0dbe8dae14 Reviewed-on: https://gerrit.libreoffice.org/35130 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/view/output2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index 40206ad6fa0e..b45756b7b03a 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -1420,7 +1420,7 @@ static SvxCellHorJustify getAlignmentFromContext( SvxCellHorJustify eInHorJust,
if (bUseWritingDirection ||
eInHorJust == SvxCellHorJustify::Block || eInHorJust == SvxCellHorJustify::Repeat)
{
- sal_uInt16 nDirection = lcl_GetValue<SvxFrameDirectionItem, sal_uInt16>( rPattern, ATTR_WRITINGDIR, pCondSet);
+ SvxFrameDirection nDirection = lcl_GetValue<SvxFrameDirectionItem, SvxFrameDirection>(rPattern, ATTR_WRITINGDIR, pCondSet);
if (nDirection == FRMDIR_HORI_LEFT_TOP || nDirection == FRMDIR_VERT_TOP_LEFT)
eHorJustContext = SvxCellHorJustify::Left;
else if (nDirection == FRMDIR_ENVIRONMENT)