summaryrefslogtreecommitdiffstats
path: root/vcl/source/window/dockingarea.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2004-12-23 08:12:50 +0000
committerVladimir Glazounov <vg@openoffice.org>2004-12-23 08:12:50 +0000
commitcef1807339fabf46e2b25e0272cca97d835f0bf9 (patch)
tree8c26551223ec51ee566d2dfcd43ef26e77df5ee0 /vcl/source/window/dockingarea.cxx
parent#i10000# duplicate flags (diff)
downloadcore-cef1807339fabf46e2b25e0272cca97d835f0bf9.tar.gz
core-cef1807339fabf46e2b25e0272cca97d835f0bf9.zip
INTEGRATION: CWS mmeeks02 (1.2.28); FILE MERGED
2004/12/14 14:21:03 mmeeks 1.2.28.2: Issue number: #i38504# Submitted by: mmeeks Remove erroneous (int) cast. 2004/12/14 14:19:08 mmeeks 1.2.28.1: Issue number: #i38504# Submitted by: waratah Reviewed by: ssa Fix gcc-3.3 build.
Diffstat (limited to 'vcl/source/window/dockingarea.cxx')
-rw-r--r--vcl/source/window/dockingarea.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx
index 010e37ef2f6e..a37c86dc9c0d 100644
--- a/vcl/source/window/dockingarea.cxx
+++ b/vcl/source/window/dockingarea.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dockingarea.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: obo $ $Date: 2004-11-16 15:10:38 $
+ * last change: $Author: vg $ $Date: 2004-12-23 09:12:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -58,7 +58,6 @@
*
*
************************************************************************/
-
#ifndef _DEBUG_HXX
#include <tools/debug.hxx>
#endif
@@ -209,7 +208,8 @@ void DockingAreaWindow::Paint( const Rectangle& rRect )
if( !ImplGetSVData()->maNWFData.mbDockingAreaSeparateTB )
{
// draw a single toolbar background covering the whole docking area
- Region aCtrlRegion( Rectangle( Point(), GetOutputSizePixel() ) );
+ Point tmp;
+ Region aCtrlRegion( Rectangle( tmp, GetOutputSizePixel() ) );
DrawNativeControl( CTRL_TOOLBAR, IsHorizontal() ? PART_DRAW_BACKGROUND_HORZ : PART_DRAW_BACKGROUND_VERT,
aCtrlRegion, nState, aControlValue, rtl::OUString() );