summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-27 01:34:35 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-27 01:34:35 -0400
commitdf827af160fa255c56b9aaef644a2d9c4680977d (patch)
treedafda468a02b3a6c4a4585f3fea1062f45451651 /editeng
parentTranslated German class description (thanks to Markus Mohrhard). (diff)
downloadcore-df827af160fa255c56b9aaef644a2d9c4680977d.tar.gz
core-df827af160fa255c56b9aaef644a2d9c4680977d.zip
Let's not use a macro for this...
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/flditem.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx
index a182a3689cf0..58f6ab1d5dc9 100644
--- a/editeng/source/items/flditem.cxx
+++ b/editeng/source/items/flditem.cxx
@@ -948,14 +948,14 @@ SvClassManager& SvxFieldItem::GetClassManager()
if ( !pClassMgr )
{
pClassMgr = new SvClassManager;
- pClassMgr->SV_CLASS_REGISTER( SvxFieldData );
- pClassMgr->SV_CLASS_REGISTER( SvxURLField );
- pClassMgr->SV_CLASS_REGISTER( SvxDateField );
- pClassMgr->SV_CLASS_REGISTER( SvxPageField );
- pClassMgr->SV_CLASS_REGISTER( SvxTimeField );
- pClassMgr->SV_CLASS_REGISTER( SvxExtTimeField );
- pClassMgr->SV_CLASS_REGISTER( SvxExtFileField );
- pClassMgr->SV_CLASS_REGISTER( SvxAuthorField );
+ pClassMgr->Register(SvxFieldData::StaticClassId(), SvxFieldData::CreateInstance);
+ pClassMgr->Register(SvxURLField::StaticClassId(), SvxURLField::CreateInstance);
+ pClassMgr->Register(SvxDateField::StaticClassId(), SvxDateField::CreateInstance);
+ pClassMgr->Register(SvxPageField::StaticClassId(), SvxPageField::CreateInstance);
+ pClassMgr->Register(SvxTimeField::StaticClassId(), SvxTimeField::CreateInstance);
+ pClassMgr->Register(SvxExtTimeField::StaticClassId(), SvxExtTimeField::CreateInstance);
+ pClassMgr->Register(SvxExtFileField::StaticClassId(), SvxExtFileField::CreateInstance);
+ pClassMgr->Register(SvxAuthorField::StaticClassId(), SvxAuthorField::CreateInstance);
}
return *pClassMgr;