diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-04-21 15:14:11 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-04-21 15:14:11 +0200 |
commit | 3c60b4698b00c169e856f27355cb0fccffae0f15 (patch) | |
tree | 1e856d1e7424a11664d52e8217926e34d49b14c1 /unodevtools | |
parent | 4f9f04f1047db6179364a9f1eff37a96ea1918e2 (diff) |
Easyhack: Add visibility markup to all component_get* functions
Diffstat (limited to 'unodevtools')
-rw-r--r-- | unodevtools/source/skeletonmaker/cppcompskeleton.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx index f2b526ba3c95..9395e9386b20 100644 --- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx +++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx @@ -194,11 +194,11 @@ void generateCompFunctions(std::ostream & o, const OString & nmspace) << " &::cppu::createSingleComponentFactory, 0, 0 },\n" << " { 0, 0, 0, 0, 0, 0 }\n};\n\n"; - o << "extern \"C\" void SAL_CALL component_getImplementationEnvironment(\n" + o << "extern \"C\" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(\n" << " const char ** envTypeName, uno_Environment **)\n{\n" << " *envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;\n}\n\n"; - o << "extern \"C\" void * SAL_CALL component_getFactory(\n" + o << "extern \"C\" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(\n" << " const char * implName, void * serviceManager, void * registryKey)\n{\n" << " return ::cppu::component_getFactoryHelper(\n" << " implName, serviceManager, registryKey, entries);\n}\n\n"; |