1def0c7
--- vbahelper/inc/vbahelper/vbacollectionimpl.hxx	2011-01-28 20:27:51.507604173 +0000
1def0c7
+++ vbahelper/inc/vbahelper/vbacollectionimpl.hxx	2011-01-28 20:28:26.230045727 +0000
1def0c7
@@ -238,7 +238,7 @@
1def0c7
 
1def0c7
 // including a HelperInterface implementation
1def0c7
 template< typename Ifc1 >
1def0c7
-class ScVbaCollectionBase : public InheritedHelperInterfaceImpl< Ifc1 >
1def0c7
+class VBAHELPER_DLLPUBLIC ScVbaCollectionBase : public InheritedHelperInterfaceImpl< Ifc1 >
1def0c7
 {
1def0c7
 typedef InheritedHelperInterfaceImpl< Ifc1 > BaseColBase;
1def0c7
 protected:
23c369d
--- sc/Library_vbaobj.mk
23c369d
+++ sc/Library_vbaobj.mk
23c369d
@@ -118,7 +118,6 @@ $(eval $(call gb_Library_add_exception_objects,vbaobj,\
23c369d
         sc/source/ui/vba/vbaquerytable \
23c369d
         sc/source/ui/vba/vbarange \
23c369d
         sc/source/ui/vba/vbasheetobject \
23c369d
-        sc/source/ui/vba/vbasheetobjects \
23c369d
         sc/source/ui/vba/vbastyle \
23c369d
         sc/source/ui/vba/vbastyles \
23c369d
         sc/source/ui/vba/vbatextboxshape \
23c369d
@@ -133,6 +132,11 @@ $(eval $(call gb_Library_add_exception_objects,vbaobj,\
23c369d
         sc/source/ui/vba/vbawsfunction \
23c369d
 ))
23c369d
 
23c369d
+$(eval $(call gb_Library_add_cxxobjects,vbaobj,\
23c369d
+        sc/source/ui/vba/vbasheetobjects \
23c369d
+        , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
23c369d
+))
23c369d
+
23c369d
 ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS)))
23c369d
 $(eval $(call gb_Library_set_ldflags,vbaobj,\
23c369d
 	$$(LDFLAGS) \