summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-02 13:54:34 +0200
committerNoel Grandin <noel@peralex.com>2016-09-05 08:21:46 +0200
commita1cd62bcd589a7c1050e327f4cb0ad95f9ea19d1 (patch)
tree4564ea2be6311b5e44e67d9036bafab0c501ccb8 /sd
parent256654c26fa0d474891809d30d0004c3d87a5841 (diff)
convert ToolBoxButtonSize to scoped enum
Change-Id: I365b0e34361eb339b04e5f4792f54eff5bf582a5
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/controller/displaymodecontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/controller/displaymodecontroller.cxx b/sd/source/ui/controller/displaymodecontroller.cxx
index 8e8b6b9ff99a..628f3ac97d37 100644
--- a/sd/source/ui/controller/displaymodecontroller.cxx
+++ b/sd/source/ui/controller/displaymodecontroller.cxx
@@ -252,7 +252,7 @@ void DisplayModeController::setToolboxItemImage( sal_uInt16 nImage )
if (getToolboxId( nId, &pToolBox )) {
SdResId resId( nImage );
BitmapEx aBmp( resId );
- int targetSize = (pToolBox->GetToolboxButtonSize() == TOOLBOX_BUTTONSIZE_LARGE) ? 32 : 16;
+ int targetSize = (pToolBox->GetToolboxButtonSize() == ToolBoxButtonSize::Large) ? 32 : 16;
double scale = 1.0f;
Size size = aBmp.GetSizePixel();
if (size.Width() > targetSize)