diff options
Diffstat (limited to 'vcl/source/control/morebtn.cxx')
-rw-r--r-- | vcl/source/control/morebtn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/morebtn.cxx b/vcl/source/control/morebtn.cxx index acff4e0be2f2..95fd6fb78871 100644 --- a/vcl/source/control/morebtn.cxx +++ b/vcl/source/control/morebtn.cxx @@ -89,7 +89,7 @@ void MoreButton::Click() { vcl::Window* pParent = GetParent(); Size aSize( pParent->GetSizePixel() ); - long nDeltaPixel = LogicToPixel( Size( 0, 0 ), MapUnit::MapPixel ).Height(); + long nDeltaPixel = LogicToPixel(Size(0, 0), MapMode(MapUnit::MapPixel)).Height(); // Change status mbState = !mbState; |