summaryrefslogtreecommitdiff
path: root/io/source
diff options
context:
space:
mode:
Diffstat (limited to 'io/source')
-rw-r--r--io/source/acceptor/acc_socket.cxx2
-rw-r--r--io/source/connector/ctr_socket.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx
index b106e8b11526..f34b3635eb7b 100644
--- a/io/source/acceptor/acc_socket.cxx
+++ b/io/source/acceptor/acc_socket.cxx
@@ -97,7 +97,7 @@ namespace io_acceptor {
};
template<class T>
- void notifyListeners(SocketConnection * pCon, bool * notified, T t)
+ static void notifyListeners(SocketConnection * pCon, bool * notified, T t)
{
XStreamListener_hash_set listeners;
diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx
index 255c2f0af534..773a378a08ff 100644
--- a/io/source/connector/ctr_socket.cxx
+++ b/io/source/connector/ctr_socket.cxx
@@ -31,7 +31,7 @@ using namespace ::com::sun::star::connection;
namespace stoc_connector {
template<class T>
- void notifyListeners(SocketConnection * pCon, bool * notified, T t)
+ static void notifyListeners(SocketConnection * pCon, bool * notified, T t)
{
XStreamListener_hash_set listeners;