summaryrefslogtreecommitdiff
path: root/sc
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 /sc
parent292d71f513ee2dd3c276f950ca561704b2deb11b (diff)
Let's not use a macro for this...
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/scdll.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx
index 25712d467df3..2d9af1606680 100644
--- a/sc/source/ui/app/scdll.cxx
+++ b/sc/source/ui/app/scdll.cxx
@@ -295,9 +295,9 @@ void ScDLL::Init()
// Edit-Engine-Felder, soweit nicht schon in OfficeApplication::Init
SvClassManager& rClassManager = SvxFieldItem::GetClassManager();
- rClassManager.SV_CLASS_REGISTER( SvxPagesField );
- rClassManager.SV_CLASS_REGISTER( SvxFileField );
- rClassManager.SV_CLASS_REGISTER( SvxTableField );
+ rClassManager.Register(SvxPagesField::StaticClassId(), SvxPagesField::CreateInstance);
+ rClassManager.Register(SvxFileField::StaticClassId(), SvxFileField::CreateInstance);
+ rClassManager.Register(SvxTableField::StaticClassId(), SvxTableField::CreateInstance);
SdrRegisterFieldClasses(); // SvDraw-Felder registrieren