User: kz      
Date: 2008-03-05 18:13:44+0000
Modified:
   dba/reportdesign/source/ui/report/dlgedfac.cxx

Log:
 INTEGRATION: CWS rptchart01_DEV300 (1.2.70); FILE MERGED
 2008/01/24 12:39:33 oj 1.2.70.1: #i85225# changes for chart

File Changes:

Directory: /dba/reportdesign/source/ui/report/
==============================================

File [changed]: dlgedfac.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/report/dlgedfac.cxx?r1=1.2&r2=1.3
Delta lines:  +11 -5
--------------------
--- dlgedfac.cxx        2007-07-09 11:56:33+0000        1.2
+++ dlgedfac.cxx        2008-03-05 18:13:41+0000        1.3
@@ -66,7 +66,7 @@
 #ifndef _COM_SUN_STAR_AWT_SCROLLBARORIENTATION_HPP_
 #include <com/sun/star/awt/ScrollBarOrientation.hpp>
 #endif
-
+#include <svx/svdoole2.hxx>
 namespace rptui
 {
 using namespace ::com::sun::star;
@@ -123,7 +123,13 @@
                 }
                 break;
             case OBJ_CUSTOMSHAPE:
-                pObjFactory->pNewObj = new 
OCustomShape(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.report.Shape")));
+                pObjFactory->pNewObj = new OCustomShape(SERVICE_SHAPE);
+                break;
+            case OBJ_DLG_SUBREPORT:
+                pObjFactory->pNewObj = new OOle2Obj(SERVICE_REPORTDEFINITION);
+                break;
+            case OBJ_OLE2:
+                pObjFactory->pNewObj = new 
OOle2Obj(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.chart2.ChartDocument")));
                 break;
                    default:
                            OSL_ENSURE(0,"Unknown object id");




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

Reply via email to