summaryrefslogtreecommitdiff
path: root/svx/source/form/fmobjfac.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmobjfac.cxx')
-rw-r--r--svx/source/form/fmobjfac.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmobjfac.cxx b/svx/source/form/fmobjfac.cxx
index a2b692572082..37afeecd23f9 100644
--- a/svx/source/form/fmobjfac.cxx
+++ b/svx/source/form/fmobjfac.cxx
@@ -237,9 +237,9 @@ IMPL_LINK(FmFormObjFactory, MakeObject, SdrObjFactory*, pObjFactory)
// create the actual object
if ( !sServiceSpecifier.isEmpty() )
- pObjFactory->pNewObj = new FmFormObj( sServiceSpecifier, pObjFactory->nIdentifier );
+ pObjFactory->pNewObj = new FmFormObj(sServiceSpecifier);
else
- pObjFactory->pNewObj = new FmFormObj( pObjFactory->nIdentifier );
+ pObjFactory->pNewObj = new FmFormObj();
// initialize some properties which we want to differ from the defaults
for ( PropertyValueArray::const_iterator aInitProp = aInitialProperties.begin();