summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/pcrservices.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/pcrservices.cxx')
-rw-r--r--extensions/source/propctrlr/pcrservices.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/pcrservices.cxx b/extensions/source/propctrlr/pcrservices.cxx
index 1ef0353ae1c6..eb4368bb7da4 100644
--- a/extensions/source/propctrlr/pcrservices.cxx
+++ b/extensions/source/propctrlr/pcrservices.cxx
@@ -25,7 +25,9 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::registry;
-extern "C" void pcr_initializeModule()
+extern "C" {
+
+static void pcr_initializeModule()
{
static bool s_bInit = false;
if (!s_bInit)
@@ -53,6 +55,7 @@ extern "C" void pcr_initializeModule()
}
}
+}
extern "C" SAL_DLLPUBLIC_EXPORT void* pcr_component_getFactory(
const sal_Char* pImplementationName,