summaryrefslogtreecommitdiff
path: root/desktop/source/offacc/acceptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/offacc/acceptor.cxx')
-rw-r--r--desktop/source/offacc/acceptor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx
index 56471ca3aa8c..21b97f4ad7b4 100644
--- a/desktop/source/offacc/acceptor.cxx
+++ b/desktop/source/offacc/acceptor.cxx
@@ -28,7 +28,7 @@
namespace desktop
{
-extern "C" void workerfunc (void * acc)
+extern "C" void offacc_workerfunc (void * acc)
{
((Acceptor*)acc)->run();
}
@@ -157,7 +157,7 @@ void SAL_CALL Acceptor::initialize( const Sequence<Any>& aArguments )
m_aProtocol = m_aAcceptString.copy( nIndex1, nIndex2 - nIndex1 );
// start accepting in new thread...
- m_thread = osl_createThread(workerfunc, this);
+ m_thread = osl_createThread(offacc_workerfunc, this);
m_bInit = sal_True;
bOk = sal_True;
}