diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-26 15:15:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-26 15:17:31 +0100 |
commit | 3f5ccf572a12d1ac54d47ab7fcdc23f7bb8f132b (patch) | |
tree | 4908ffd2678ba14dee996109dfca9f215ff52a45 /scripting | |
parent | b6ee5cf707343e5393514a47c024535ea6c1b7d1 (diff) |
Fix types of functions called via pointer (-fsanitze=function)
Change-Id: Ife0151a04477ce30bb132e6dfae9f4d3a74bf4b0
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/vbaevents/service.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripting/source/vbaevents/service.cxx b/scripting/source/vbaevents/service.cxx index f599dc0148f7..d6f21e234a18 100644 --- a/scripting/source/vbaevents/service.cxx +++ b/scripting/source/vbaevents/service.cxx @@ -19,8 +19,6 @@ #include "cppuhelper/implementationentry.hxx" #include <osl/diagnose.h> -#include "com/sun/star/lang/XMultiServiceFactory.hpp" -#include "com/sun/star/registry/XRegistryKey.hpp" #include <service.hxx> @@ -49,8 +47,8 @@ using namespace ::com::sun::star::uno; extern "C" { SAL_DLLPUBLIC_EXPORT void * SAL_CALL vbaevents_component_getFactory( - const sal_Char * pImplName, lang::XMultiServiceFactory * pServiceManager, - registry::XRegistryKey * pRegistryKey ) + const sal_Char * pImplName, void * pServiceManager, + void * pRegistryKey ) { OSL_TRACE("In component_getFactory"); return ::cppu::component_getFactoryHelper( |