From e87a7221585c7c51e45c7a4516341243c78ee874 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Mon, 19 Jun 2006 23:49:41 +0000 Subject: [PATCH] INTEGRATION: CWS warnings01 (1.4.6); FILE MERGED 2006/05/23 23:27:10 sb 1.4.6.2: RESYNC: (1.4-1.5); FILE MERGED 2006/03/10 19:08:17 lo 1.4.6.1: warnings01: remove warnings in unoxml --- unoxml/source/service/services.cxx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/unoxml/source/service/services.cxx b/unoxml/source/service/services.cxx index 37817ad7bcfc..3cf2672e4854 100644 --- a/unoxml/source/service/services.cxx +++ b/unoxml/source/service/services.cxx @@ -4,9 +4,9 @@ * * $RCSfile: services.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2006-05-02 15:39:56 $ + * last change: $Author: hr $ $Date: 2006-06-20 00:49:41 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -33,14 +33,16 @@ * ************************************************************************/ +#include #include +#include +#include +#include +#include #include #include -#include #include -#include #include -#include #include #include @@ -60,13 +62,13 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::registry; void SAL_CALL -component_getImplementationEnvironment(const sal_Char **ppEnvironmentTypeName, uno_Environment **ppEnvironment) +component_getImplementationEnvironment(const sal_Char **ppEnvironmentTypeName, uno_Environment ** /*ppEnvironment */) { *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ; } sal_Bool SAL_CALL -component_writeInfo(void *pServiceManager, void *pRegistryKey) +component_writeInfo(void * /*pServiceManager*/, void* pRegistryKey ) { Reference< XRegistryKey > xKey(reinterpret_cast< XRegistryKey* >(pRegistryKey)); Reference< XRegistryKey > xNewKey; @@ -105,7 +107,7 @@ component_writeInfo(void *pServiceManager, void *pRegistryKey) } void* SAL_CALL -component_getFactory(const sal_Char *pImplementationName, void *pServiceManager, void *pRegistryKey) +component_getFactory(const sal_Char *pImplementationName, void *pServiceManager, void * /*pRegistryKey*/) { void* pReturn = NULL ; if ( pImplementationName && pServiceManager )