summaryrefslogtreecommitdiff
path: root/dtrans/source/generic/dtrans.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/generic/dtrans.cxx')
-rw-r--r--dtrans/source/generic/dtrans.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/dtrans/source/generic/dtrans.cxx b/dtrans/source/generic/dtrans.cxx
index 40eb6967adb3..a25e95be2b89 100644
--- a/dtrans/source/generic/dtrans.cxx
+++ b/dtrans/source/generic/dtrans.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,7 +45,7 @@ extern "C"
//==================================================================================================
-void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName,
+void SAL_CALL component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName,
uno_Environment ** /*ppEnv*/ )
{
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
@@ -62,7 +62,7 @@ sal_Bool SAL_CALL component_writeInfo(void * /*pServiceManager*/, void * pRegist
Reference< XRegistryKey > xNewKey(
reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey(
OUString::createFromAscii("/" CLIPBOARDMANAGER_IMPLEMENTATION_NAME "/UNO/SERVICES" ) ) );
-
+
const Sequence< OUString > & rSNL = ClipboardManager_getSupportedServiceNames();
const OUString * pArray = rSNL.getConstArray();
sal_Int32 nPos;
@@ -71,12 +71,12 @@ sal_Bool SAL_CALL component_writeInfo(void * /*pServiceManager*/, void * pRegist
xNewKey = reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey(
OUString::createFromAscii("/" GENERIC_CLIPBOARD_IMPLEMENTATION_NAME "/UNO/SERVICES" ) );
-
+
const Sequence< OUString > & rSNL2 = GenericClipboard_getSupportedServiceNames();
pArray = rSNL2.getConstArray();
for ( nPos = rSNL2.getLength(); nPos--; )
xNewKey->createKey( pArray[nPos] );
-
+
return sal_True;
}
catch (InvalidRegistryException &)
@@ -91,15 +91,15 @@ sal_Bool SAL_CALL component_writeInfo(void * /*pServiceManager*/, void * pRegist
//==================================================================================================
void * SAL_CALL component_getFactory(
- const sal_Char * pImplName,
- void * pServiceManager,
+ const sal_Char * pImplName,
+ void * pServiceManager,
void * /*pRegistryKey*/
)
{
void * pRet = 0;
-
+
if (pServiceManager)
- {
+ {
Reference< XSingleServiceFactory > xFactory;
if (rtl_str_compare( pImplName, CLIPBOARDMANAGER_IMPLEMENTATION_NAME ) == 0)
@@ -107,7 +107,7 @@ void * SAL_CALL component_getFactory(
xFactory = createOneInstanceFactory(
reinterpret_cast< XMultiServiceFactory * >( pServiceManager ),
OUString::createFromAscii( pImplName ),
- ClipboardManager_createInstance,
+ ClipboardManager_createInstance,
ClipboardManager_getSupportedServiceNames() );
}
else if (rtl_str_compare( pImplName, GENERIC_CLIPBOARD_IMPLEMENTATION_NAME ) == 0)
@@ -115,7 +115,7 @@ void * SAL_CALL component_getFactory(
xFactory = createSingleFactory(
reinterpret_cast< XMultiServiceFactory * >( pServiceManager ),
OUString::createFromAscii( pImplName ),
- GenericClipboard_createInstance,
+ GenericClipboard_createInstance,
GenericClipboard_getSupportedServiceNames() );
}
@@ -125,7 +125,7 @@ void * SAL_CALL component_getFactory(
pRet = xFactory.get();
}
}
-
+
return pRet;
}