summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-13 16:11:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-13 14:54:14 +0000
commit2cdc693c56c266e149473241e6b3cb54fb2a2a03 (patch)
tree0c4dc65cfd85858ef1a12db9217830d708e67336 /xmloff
parent80f9ad9011843dbc9d166147402366438bcfe29a (diff)
Remove __cplusplus-checks from apparently-C++-only files
Change-Id: I87e9ce45cf945e75e8140a9d4608da8abcddada6 Reviewed-on: https://gerrit.libreoffice.org/27187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/facreg.cxx4
-rw-r--r--xmloff/source/transform/XMLFilterRegistration.cxx4
2 files changed, 0 insertions, 8 deletions
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: */