diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-30 16:27:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-31 07:00:10 +0000 |
commit | 8cd5002959c27e2e271d3897886a2ef504e41ff6 (patch) | |
tree | d470f9891f158bbe7b16792028572fa4720abed5 /chart2/source/tools | |
parent | 9a165a86795c65c42a94bf6f7f48545c797f2db3 (diff) |
use actual UNO enums in chart2
Change-Id: I05d4eed55f5deba4b1802389d1ba94582d30550f
Reviewed-on: https://gerrit.libreoffice.org/35917
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/tools')
-rw-r--r-- | chart2/source/tools/RelativePositionHelper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/tools/RelativePositionHelper.cxx b/chart2/source/tools/RelativePositionHelper.cxx index 185dc2400097..a205d75d6448 100644 --- a/chart2/source/tools/RelativePositionHelper.cxx +++ b/chart2/source/tools/RelativePositionHelper.cxx @@ -70,7 +70,7 @@ chart2::RelativePosition RelativePositionHelper::getReanchoredPosition( nShiftHalfWidths -= 2; nShiftHalfHeights -= 2; break; - case drawing::Alignment_MAKE_FIXED_SIZE: + case drawing::Alignment::Alignment_MAKE_FIXED_SIZE: break; } @@ -107,7 +107,7 @@ chart2::RelativePosition RelativePositionHelper::getReanchoredPosition( nShiftHalfWidths += 2; nShiftHalfHeights += 2; break; - case drawing::Alignment_MAKE_FIXED_SIZE: + case drawing::Alignment::Alignment_MAKE_FIXED_SIZE: break; } @@ -277,7 +277,7 @@ bool RelativePositionHelper::centerGrow( case drawing::Alignment_BOTTOM_RIGHT: aPos.Primary += fShiftAmountX; break; - case drawing::Alignment_MAKE_FIXED_SIZE: + case drawing::Alignment::Alignment_MAKE_FIXED_SIZE: break; } @@ -299,7 +299,7 @@ bool RelativePositionHelper::centerGrow( case drawing::Alignment_BOTTOM_RIGHT: aPos.Secondary += fShiftAmountY; break; - case drawing::Alignment_MAKE_FIXED_SIZE: + case drawing::Alignment::Alignment_MAKE_FIXED_SIZE: break; } |