drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx | 18 ---------------- 1 file changed, 1 insertion(+), 17 deletions(-)
New commits: commit 12b2be76a24ddee57caeb0531312f7f3deab2aa9 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Nov 21 17:59:18 2013 +0100 No need for default component_getImplementationEnvironment function any more Change-Id: I3c019fb810a9527f616f2df7f3082f5d5508c9e3 diff --git a/drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx b/drawinglayer/source/drawinglayeruno/drawinglayeruno.cxx index 43795bc..4da680a 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits