From 2cdc693c56c266e149473241e6b3cb54fb2a2a03 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 13 Jul 2016 16:11:20 +0200 Subject: Remove __cplusplus-checks from apparently-C++-only files Change-Id: I87e9ce45cf945e75e8140a9d4608da8abcddada6 Reviewed-on: https://gerrit.libreoffice.org/27187 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- xmloff/source/core/facreg.cxx | 4 ---- xmloff/source/transform/XMLFilterRegistration.cxx | 4 ---- 2 files changed, 8 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/core/facreg.cxx b/xmloff/source/core/facreg.cxx index c050b10c4407..884baed3d213 100644 --- a/xmloff/source/core/facreg.cxx +++ b/xmloff/source/core/facreg.cxx @@ -33,10 +33,8 @@ using namespace com::sun::star; -#ifdef __cplusplus extern "C" { -#endif #define SINGLEFACTORY(classname)\ if( classname##_getImplementationName().equalsAsciiL( pImplName, nImplNameLen ) )\ @@ -142,8 +140,6 @@ XMLOFF_DLLPUBLIC void * SAL_CALL xo_component_getFactory( const sal_Char * pImpl return pRet; } -#ifdef __cplusplus } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/transform/XMLFilterRegistration.cxx b/xmloff/source/transform/XMLFilterRegistration.cxx index 4b7ce03acd07..863495fd385b 100644 --- a/xmloff/source/transform/XMLFilterRegistration.cxx +++ b/xmloff/source/transform/XMLFilterRegistration.cxx @@ -83,10 +83,8 @@ namespace }; } -#ifdef __cplusplus extern "C" { -#endif SAL_DLLPUBLIC_EXPORT void* SAL_CALL xof_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { @@ -131,8 +129,6 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL xof_component_getFactory( const sal_Char * p return pRet; } -#ifdef __cplusplus } -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit