summaryrefslogtreecommitdiff
path: root/desktop/source/offacc/acceptor.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 13:14:59 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 13:14:59 +0000
commit370227bc8110b51e3a8db1a7cb790e424ffc0d4e (patch)
treef82c34439e7c0a4b9be341f3e3f2caa1223ef085 /desktop/source/offacc/acceptor.cxx
parentdb701ac1cab4b369dd66989dc0c04a087d16d91d (diff)
INTEGRATION: CWS sb59 (1.5.52); FILE MERGED
2006/07/20 07:55:34 sb 1.5.52.1: #i67537# Made code warning-free.
Diffstat (limited to 'desktop/source/offacc/acceptor.cxx')
-rw-r--r--desktop/source/offacc/acceptor.cxx18
1 files changed, 7 insertions, 11 deletions
diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx
index 057cb6ef05..f4549f0ccf 100644
--- a/desktop/source/offacc/acceptor.cxx
+++ b/desktop/source/offacc/acceptor.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: acceptor.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 09:47:08 $
+ * last change: $Author: obo $ $Date: 2006-10-12 14:14:59 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -180,7 +180,7 @@ void SAL_CALL Acceptor::initialize( const Sequence<Any>& aArguments )
m_aProtocol = m_aAcceptString.copy( nIndex1, nIndex2 - nIndex1 );
// start accepting in new thread...
- oslThread m_aThread = osl_createThread(workerfunc, this);
+ osl_createThread(workerfunc, this);
m_bInit = sal_True;
bOk = sal_True;
}
@@ -230,14 +230,10 @@ Sequence<OUString> SAL_CALL Acceptor::getSupportedServiceNames()
{
return Acceptor::impl_getSupportedServiceNames();
}
-sal_Bool Acceptor::impl_supportsService( const OUString& aServiceName)
-{
- return sal_False;
-}
-sal_Bool SAL_CALL Acceptor::supportsService( const OUString& aServiceName)
+sal_Bool SAL_CALL Acceptor::supportsService( const OUString&)
throw (RuntimeException)
{
- return Acceptor::impl_supportsService( aServiceName );
+ return sal_False;
}
// Factory
@@ -313,7 +309,7 @@ extern "C"
using namespace desktop;
void SAL_CALL
-component_getImplementationEnvironment(const sal_Char **ppEnvironmentTypeName, uno_Environment **ppEnvironment)
+component_getImplementationEnvironment(const sal_Char **ppEnvironmentTypeName, uno_Environment **)
{
*ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ;
}
@@ -336,7 +332,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 *)
{
void* pReturn = NULL ;
if ( pImplementationName && pServiceManager )