diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-03 20:10:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-04 15:01:10 +0100 |
commit | 55da16210363cb2dc1f43731ebe6ebc601a50d86 (patch) | |
tree | 1b139fae1a02a5d8ae645906c1992326a2127b9a /vcl | |
parent | 28a6558f9d3ca2dda3191f8b5b3f2378ee2533da (diff) |
these methods can be const
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/outdev.hxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/outdevnative.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/vcl/outdev.hxx b/vcl/inc/vcl/outdev.hxx index 63458cbddaf7..f4b2c6f8d8f8 100644 --- a/vcl/inc/vcl/outdev.hxx +++ b/vcl/inc/vcl/outdev.hxx @@ -1196,7 +1196,7 @@ public: const ImplControlValue& aValue, ::rtl::OUString aCaption, Rectangle &rNativeBoundingRegion, - Rectangle &rNativeContentRegion ); + Rectangle &rNativeContentRegion ) const; }; diff --git a/vcl/source/gdi/outdevnative.cxx b/vcl/source/gdi/outdevnative.cxx index f37417ebeca2..e791c99ce157 100644 --- a/vcl/source/gdi/outdevnative.cxx +++ b/vcl/source/gdi/outdevnative.cxx @@ -194,7 +194,7 @@ sal_Bool OutputDevice::HitTestNativeControl( ControlType nType, // ----------------------------------------------------------------------- -static boost::shared_ptr< ImplControlValue > lcl_transformControlValue( const ImplControlValue& rVal, OutputDevice& rDev ) +static boost::shared_ptr< ImplControlValue > lcl_transformControlValue( const ImplControlValue& rVal, const OutputDevice& rDev ) { boost::shared_ptr< ImplControlValue > aResult; switch( rVal.getType() ) @@ -321,7 +321,7 @@ sal_Bool OutputDevice::GetNativeControlRegion( ControlType nType, const ImplControlValue& aValue, ::rtl::OUString aCaption, Rectangle &rNativeBoundingRegion, - Rectangle &rNativeContentRegion ) + Rectangle &rNativeContentRegion ) const { if( !lcl_enableNativeWidget( *this ) ) return sal_False; |