summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-22 16:33:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-22 18:27:58 +0100
commitb566f08a480d2af3c71dad9b33f0b69adafaf0f1 (patch)
treeed07f8cdfa21b5144c4873c89f42c5b499d1a3f6 /vcl
parent7e322f2d784de63085a84c0012ed5096ad863b83 (diff)
ImplCalcSize etc can be const
Change-Id: Idd1e33b6da8be9575e74701735f0dbc742849c07
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/menu.cxx4
1 files changed, 2 insertions, 2 deletions
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|