From 8cd5002959c27e2e271d3897886a2ef504e41ff6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 30 Mar 2017 16:27:50 +0200 Subject: use actual UNO enums in chart2 Change-Id: I05d4eed55f5deba4b1802389d1ba94582d30550f Reviewed-on: https://gerrit.libreoffice.org/35917 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/tools/RelativePositionHelper.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chart2/source/tools') 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; } -- cgit