summaryrefslogtreecommitdiff
path: root/vcl/source/window/status.cxx
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-06-29 15:20:03 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-06-29 18:06:15 +0400
commit1a8addc13734164d649974ea2f6426d12e8992a2 (patch)
tree668f2f5db4be7242211c1b8efc5c364e93ce12b2 /vcl/source/window/status.cxx
parentc08a20b6480cceca4827bdc8796610d8a395b37a (diff)
GetNativeControlRegion is const
Change-Id: I0b34001e99036f197a50ff24b854e5a07eac6f06
Diffstat (limited to 'vcl/source/window/status.cxx')
-rw-r--r--vcl/source/window/status.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index 78705c79b1c8..7ec6fd79d968 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -1602,9 +1602,9 @@ Size StatusBar::CalcWindowSizePixel() const
ImplControlValue aValue;
Rectangle aControlRegion( (const Point&)Point(), Size( nCalcWidth, nMinHeight ) );
Rectangle aNativeControlRegion, aNativeContentRegion;
- if( pThis->GetNativeControlRegion( CTRL_PROGRESS, PART_ENTIRE_CONTROL, aControlRegion,
- CTRL_STATE_ENABLED, aValue, OUString(),
- aNativeControlRegion, aNativeContentRegion ) )
+ if( GetNativeControlRegion( CTRL_PROGRESS, PART_ENTIRE_CONTROL,
+ aControlRegion, CTRL_STATE_ENABLED, aValue, OUString(),
+ aNativeControlRegion, aNativeContentRegion ) )
{
nProgressHeight = aNativeControlRegion.GetHeight();
}
@@ -1616,8 +1616,8 @@ Size StatusBar::CalcWindowSizePixel() const
ImplControlValue aControlValue( FRAME_DRAW_NODRAW );
Rectangle aBound, aContent;
Rectangle aNatRgn( Point( 0, 0 ), Size( 150, 50 ) );
- if( pThis->GetNativeControlRegion(CTRL_FRAME, PART_BORDER,
- aNatRgn, 0, aControlValue, OUString(), aBound, aContent) )
+ if( GetNativeControlRegion(CTRL_FRAME, PART_BORDER,
+ aNatRgn, 0, aControlValue, OUString(), aBound, aContent) )
{
mpImplData->mnItemBorderWidth =
( aBound.GetHeight() - aContent.GetHeight() ) / 2;