From b13fbd19b7282a1210a2e14bb5ede9ecdf944c1c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 5 May 2015 14:09:24 +0200 Subject: convert BMP_SCALE constant to scoped enum Change-Id: Ibc9f88d2588c028cd71aa86c26d970a73025ef22 --- sc/source/ui/cctrl/checklistmenu.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/cctrl') diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 651008c50bb1..bbd90b12d311 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -1097,7 +1097,7 @@ void ScCheckListMenuWindow::packWindow() if (nScaleFactor != 1) { BitmapEx aBitmap = aSingleSelect.GetBitmapEx(); - aBitmap.Scale(nScaleFactor, nScaleFactor, BMP_SCALE_FAST); + aBitmap.Scale(nScaleFactor, nScaleFactor, BmpScaleFlag::Fast); aSingleSelect = Image(aBitmap); } @@ -1112,7 +1112,7 @@ void ScCheckListMenuWindow::packWindow() if (nScaleFactor != 1) { BitmapEx aBitmap = aSingleUnselect.GetBitmapEx(); - aBitmap.Scale(nScaleFactor, nScaleFactor, BMP_SCALE_FAST); + aBitmap.Scale(nScaleFactor, nScaleFactor, BmpScaleFlag::Fast); aSingleUnselect = Image(aBitmap); } -- cgit