From b566f08a480d2af3c71dad9b33f0b69adafaf0f1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 22 Oct 2013 16:33:21 +0100 Subject: ImplCalcSize etc can be const Change-Id: Idd1e33b6da8be9575e74701735f0dbc742849c07 --- vcl/source/window/menu.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/source/window/menu.cxx') diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 23545a909f7c..f567ba3a1da9 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -2252,7 +2252,7 @@ void Menu::SetAccessible( const ::com::sun::star::uno::Reference< ::com::sun::st mxAccessible = rxAccessible; } -Size Menu::ImplGetNativeCheckAndRadioSize( Window* pWin, long& rCheckHeight, long& rRadioHeight ) const +Size Menu::ImplGetNativeCheckAndRadioSize( const Window* pWin, long& rCheckHeight, long& rRadioHeight ) const { long nCheckWidth = 0, nRadioWidth = 0; rCheckHeight = rRadioHeight = 0; @@ -2367,7 +2367,7 @@ void Menu::ImplRemoveDel( ImplMenuDelData& rDel ) // ----------------------------------------------------------------------- -Size Menu::ImplCalcSize( Window* pWin ) +Size Menu::ImplCalcSize( const Window* pWin ) { // | Check/Radio/Image| Text| Accel/Popup| -- cgit