diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-03-13 11:54:05 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-14 06:40:45 +0000 |
commit | 0960ea6de3ecb0b64deea308a3362a08628adc60 (patch) | |
tree | cb7569636a22c76e8c8fe292cdf59d97b86d39d3 | |
parent | f6678c297b3eb119a928344792951886d1d6ca53 (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>
-rw-r--r-- | sc/source/ui/view/output2.cxx | 2 |
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) |