Kaydet (Commit) 55da1621 authored tarafından Caolán McNamara's avatar Caolán McNamara

these methods can be const

üst 28a6558f
...@@ -1196,7 +1196,7 @@ public: ...@@ -1196,7 +1196,7 @@ public:
const ImplControlValue& aValue, const ImplControlValue& aValue,
::rtl::OUString aCaption, ::rtl::OUString aCaption,
Rectangle &rNativeBoundingRegion, Rectangle &rNativeBoundingRegion,
Rectangle &rNativeContentRegion ); Rectangle &rNativeContentRegion ) const;
}; };
......
...@@ -194,7 +194,7 @@ sal_Bool OutputDevice::HitTestNativeControl( ControlType nType, ...@@ -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; boost::shared_ptr< ImplControlValue > aResult;
switch( rVal.getType() ) switch( rVal.getType() )
...@@ -321,7 +321,7 @@ sal_Bool OutputDevice::GetNativeControlRegion( ControlType nType, ...@@ -321,7 +321,7 @@ sal_Bool OutputDevice::GetNativeControlRegion( ControlType nType,
const ImplControlValue& aValue, const ImplControlValue& aValue,
::rtl::OUString aCaption, ::rtl::OUString aCaption,
Rectangle &rNativeBoundingRegion, Rectangle &rNativeBoundingRegion,
Rectangle &rNativeContentRegion ) Rectangle &rNativeContentRegion ) const
{ {
if( !lcl_enableNativeWidget( *this ) ) if( !lcl_enableNativeWidget( *this ) )
return sal_False; return sal_False;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment