summaryrefslogtreecommitdiff
path: root/vcl/source/window/status.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-11-02 11:53:10 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-11-02 11:53:10 +0000
commitb05f227f471c3ec2fef31e8fd307733c35af041e (patch)
treea79f2a06098ef00faf369d911e46c36cdf562c91 /vcl/source/window/status.cxx
parentab6db4ca190a7411ad5f6a8b7dee712d033b5f97 (diff)
INTEGRATION: CWS os2port02 (1.25.48); FILE MERGED
2007/09/30 13:04:34 ydario 1.25.48.1: Issue number: i82034 Submitted by: ydario Reviewed by: ydario Commit of changes for OS/2 CWS source code integration.
Diffstat (limited to 'vcl/source/window/status.cxx')
-rw-r--r--vcl/source/window/status.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index f5fdb3729cf0..c727ffd15741 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: status.cxx,v $
*
- * $Revision: 1.25 $
+ * $Revision: 1.26 $
*
- * last change: $Author: hr $ $Date: 2007-08-03 14:08:49 $
+ * last change: $Author: hr $ $Date: 2007-11-02 12:53:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -694,7 +694,7 @@ void StatusBar::ImplCalcProgressRect()
if( IsNativeControlSupported( CTRL_PROGRESS, PART_ENTIRE_CONTROL ) )
{
ImplControlValue aValue;
- Region aControlRegion( Rectangle( Point(), maPrgsFrameRect.GetSize() ) );
+ Region aControlRegion( Rectangle( (const Point&)Point(), maPrgsFrameRect.GetSize() ) );
Region aNativeControlRegion, aNativeContentRegion;
if( (bNativeOK = GetNativeControlRegion( CTRL_PROGRESS, PART_ENTIRE_CONTROL, aControlRegion,
CTRL_STATE_ENABLED, aValue, rtl::OUString(),
@@ -1689,7 +1689,7 @@ Size StatusBar::CalcWindowSizePixel() const
if( pThis->IsNativeControlSupported( CTRL_PROGRESS, PART_ENTIRE_CONTROL ) )
{
ImplControlValue aValue;
- Region aControlRegion( Rectangle( Point(), Size( nCalcWidth, nMinHeight ) ) );
+ Region aControlRegion( Rectangle( (const Point&)Point(), Size( nCalcWidth, nMinHeight ) ) );
Region aNativeControlRegion, aNativeContentRegion;
if( pThis->GetNativeControlRegion( CTRL_PROGRESS, PART_ENTIRE_CONTROL, aControlRegion,
CTRL_STATE_ENABLED, aValue, rtl::OUString(),