summaryrefslogtreecommitdiff
path: root/forms/source/misc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-03-27 14:20:45 +0200
committerNoel Grandin <noel@peralex.com>2013-04-23 16:05:56 +0200
commit1165aac95b8e44f41fc16a44bfec4c1c05801ac8 (patch)
tree7887802f0d1ba62ab95bad1c6fe8ebf323c87a91 /forms/source/misc
parent9ffb86c7e93c1633866ed89f0749831fd7f31a35 (diff)
fdo#46808, convert form::Forms to new style
Change-Id: I966ed18d45dc8a04c97a703d3c83382714025f2c
Diffstat (limited to 'forms/source/misc')
-rw-r--r--forms/source/misc/services.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/forms/source/misc/services.cxx b/forms/source/misc/services.cxx
index dfbd656d01a6..29e173c0b255 100644
--- a/forms/source/misc/services.cxx
+++ b/forms/source/misc/services.cxx
@@ -258,7 +258,10 @@ void ensureClassInfos()
// ========================================================================
// = various
- REGISTER_CLASS1(OFormsCollection, FRM_SUN_FORMS_COLLECTION);
+ aServices.realloc(1);
+ aServices.getArray()[0] = OUString("com.sun.star.form.Forms");
+ REGISTER_CLASS_CORE(OFormsCollection);
+
REGISTER_CLASS1(ImageProducer, SRV_AWT_IMAGEPRODUCER);
// ========================================================================