diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-10-31 12:06:27 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-10-31 12:06:27 +0000 |
commit | 15633e70b938057d4f30f843c716334e1ee3631e (patch) | |
tree | 8141aa8fb27f7b3fb43c7d053f6351caee3ef855 /svx/source | |
parent | 171885d8d537ecabbab28bdd3efec5650802cbb0 (diff) |
#104392# use new ctor of fmobj
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/form/fmdmod.cxx | 7 | ||||
-rw-r--r-- | svx/source/form/fmdpage.cxx | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/svx/source/form/fmdmod.cxx b/svx/source/form/fmdmod.cxx index e2ce005fa18e..0c2ec0a04016 100644 --- a/svx/source/form/fmdmod.cxx +++ b/svx/source/form/fmdmod.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fmdmod.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2002-03-19 15:11:17 $ + * last change: $Author: oj $ $Date: 2002-10-31 13:05:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -76,6 +76,7 @@ #ifndef _COMPHELPER_PROCESSFACTORY_HXX_ #include <comphelper/processfactory.hxx> #endif +#include "fmglob.hxx" using namespace ::svxform; @@ -89,7 +90,7 @@ using namespace ::svxform; } else if ( ServiceSpecifier == ::rtl::OUString( ::rtl::OUString::createFromAscii("com.sun.star.drawing.ControlShape") ) ) { - SdrObject* pObj = new FmFormObj(); + SdrObject* pObj = new FmFormObj(OBJ_FM_CONTROL); xRet = *new SvxShapeControl(pObj); } if (!xRet.is()) diff --git a/svx/source/form/fmdpage.cxx b/svx/source/form/fmdpage.cxx index a1fb671d5c66..3b0ee5da046c 100644 --- a/svx/source/form/fmdpage.cxx +++ b/svx/source/form/fmdpage.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fmdpage.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hjs $ $Date: 2001-09-12 18:10:46 $ + * last change: $Author: oj $ $Date: 2002-10-31 13:06:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -134,7 +134,7 @@ SdrObject *SvxFmDrawPage::_CreateSdrObject( const ::com::sun::star::uno::Referen ::rtl::OUString aShapeType( xDescr->getShapeType() ); if (aShapeType == ::rtl::OUString::createFromAscii("com.sun.star.drawing.ShapeControl")) - return new FmFormObj(); + return new FmFormObj(OBJ_FM_CONTROL); else return SvxDrawPage::_CreateSdrObject( xDescr ); |