summaryrefslogtreecommitdiff
path: root/vcl/source/control/button.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/button.cxx')
-rw-r--r--vcl/source/control/button.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 8aa2cebc4f1b..875734f51d15 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -2807,7 +2807,7 @@ Image RadioButton::GetRadioImage( const AllSettings& rSettings, DrawButtonFlags
void RadioButton::ImplSetMinimumNWFSize()
{
Push( PushFlags::MAPMODE );
- SetMapMode( MapUnit::MapPixel );
+ SetMapMode(MapMode(MapUnit::MapPixel));
ImplControlValue aControlValue;
Size aCurSize( GetSizePixel() );
@@ -3643,7 +3643,7 @@ Image CheckBox::GetCheckImage( const AllSettings& rSettings, DrawButtonFlags nFl
void CheckBox::ImplSetMinimumNWFSize()
{
Push( PushFlags::MAPMODE );
- SetMapMode( MapUnit::MapPixel );
+ SetMapMode(MapMode(MapUnit::MapPixel));
ImplControlValue aControlValue;
Size aCurSize( GetSizePixel() );