diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-21 17:59:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-21 17:59:52 +0100 |
commit | 12b2be76a24ddee57caeb0531312f7f3deab2aa9 (patch) | |
tree | c2582f4fe4b5d474ec8669f749559e04abc6bf1f /drawinglayer | |
parent | 6991dd741e41055eb6e10865e40320ab966c85d7 (diff) |
No need for default component_getImplementationEnvironment function any more
Change-Id: I3c019fb810a9527f616f2df7f3082f5d5508c9e3
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx b/drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx index 43795bc90ad7..4da680a7e52c 100644 --- a/drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx +++ b/drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <drawinglayer/drawinglayerdllapi.h> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> @@ -25,7 +24,6 @@ #include <com/sun/star/registry/XRegistryKey.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <uno/environment.h> #include <cppuhelper/factory.hxx> ////////////////////////////////////////////////////////////////////////////// @@ -45,23 +43,9 @@ namespace drawinglayer } // end of namespace unorenderer } // end of namespace drawinglayer -////////////////////////////////////////////////////////////////////////////// -// component_getImplementationEnvironment - -extern "C" -{ - DRAWINGLAYER_DLLPUBLIC void SAL_CALL drawinglayer_component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ ) - { - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; - } -} - -////////////////////////////////////////////////////////////////////////////// -// component_getFactory - extern "C" { - DRAWINGLAYER_DLLPUBLIC void* SAL_CALL drawinglayer_component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /* pRegistryKey */ ) + SAL_DLLPUBLIC void* SAL_CALL drawinglayer_component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /* pRegistryKey */ ) { uno::Reference< lang::XSingleServiceFactory > xFactory; void* pRet = 0; |