summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-01-28 15:34:26 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-01-28 15:34:26 +0000
commit14b88580436127c90af68b1031da2a523c44cf56 (patch)
tree2eb360c07568cbe5db1b89c4bc581c37d1f93940
parent0e532488c1a313a6665cae3a05b4b40a90e924d6 (diff)
INTEGRATION: CWS locdat24 (1.54.94); FILE MERGED
2008/01/02 20:01:59 erack 1.54.94.1: #i84597# patch to be able to build with gcc 3.3.x
-rw-r--r--svtools/source/contnr/svimpbox.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 354892dde93f..cdf96812ba98 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: svimpbox.cxx,v $
*
- * $Revision: 1.54 $
+ * $Revision: 1.55 $
*
- * last change: $Author: kz $ $Date: 2007-10-09 15:04:10 $
+ * last change: $Author: vg $ $Date: 2008-01-28 16:34:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1103,7 +1103,8 @@ void SvImpLBox::DrawNet()
//so that SvImpLBox::DrawNet() doesn't draw anything too
if(pView->IsNativeControlSupported( CTRL_LISTNET, PART_ENTIRE_CONTROL)) {
ImplControlValue aControlValue;
- Region aCtrlRegion( Rectangle(Point( 0, 0 ), Size( 0, 0 )) );
+ Point aTemp(0,0); // temporary needed for g++ 3.3.5
+ Region aCtrlRegion( Rectangle(aTemp, Size( 0, 0 )) );
ControlState nState = CTRL_STATE_ENABLED;
if( pView->DrawNativeControl( CTRL_LISTNET, PART_ENTIRE_CONTROL,
aCtrlRegion, nState, aControlValue, rtl::OUString() ) )