Tag: cws_src680_reportdesign01
User: oj      
Date: 2007-09-20 10:49:31+0000
Modified:
   dba/reportdesign/source/core/api/ReportDefinition.cxx

Log:
 #i79167# use named value

File Changes:

Directory: /dba/reportdesign/source/core/api/
=============================================

File [changed]: ReportDefinition.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/core/api/ReportDefinition.cxx?r1=1.4.20.1&r2=1.4.20.2
Delta lines:  +8 -4
-------------------
--- ReportDefinition.cxx        2007-09-06 09:07:43+0000        1.4.20.1
+++ ReportDefinition.cxx        2007-09-20 10:49:28+0000        1.4.20.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: ReportDefinition.cxx,v $
  *
- *  $Revision: 1.4.20.1 $
+ *  $Revision: 1.4.20.2 $
  *
- *  last change: $Author: oj $ $Date: 2007/09/06 09:07:43 $
+ *  last change: $Author: oj $ $Date: 2007/09/20 10:49:28 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -2205,8 +2205,12 @@
     uno::Reference< uno::XInterface > xReturn;
     {
         uno::Sequence< uno::Any > aArgs(1);
-        aArgs[0] <<= xShape;
-        xShape.clear();
+        {
+            beans::NamedValue aValue;
+            aValue.Name = PROPERTY_SHAPE;
+            aValue.Value <<= xShape; xShape.clear();    // keep exactly *one* 
reference!
+            aArgs[0] <<= aValue;
+        }
         xReturn = createInstanceWithArguments(aServiceSpecifier,aArgs);
     }
     return xReturn;




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to