summaryrefslogtreecommitdiff
path: root/io/source/acceptor/acceptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/acceptor/acceptor.cxx')
-rw-r--r--io/source/acceptor/acceptor.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx
index 217c23b9a845..d1f2bb54bf40 100644
--- a/io/source/acceptor/acceptor.cxx
+++ b/io/source/acceptor/acceptor.cxx
@@ -46,6 +46,8 @@ using namespace ::com::sun::star::connection;
namespace io_acceptor
{
+ namespace {
+
class OAcceptor : public WeakImplHelper< XAcceptor, XServiceInfo >
{
public:
@@ -73,6 +75,7 @@ namespace io_acceptor
Reference<XAcceptor> _xAcceptor;
};
+ }
OAcceptor::OAcceptor( const Reference< XComponentContext > & xCtx )
: m_bInAccept( false )
@@ -85,6 +88,8 @@ namespace io_acceptor
m_pPipe.reset();
}
+ namespace {
+
struct BeingInAccept
{
/// @throws AlreadyAcceptingException
@@ -102,6 +107,8 @@ namespace io_acceptor
bool *m_pFlag;
};
+ }
+
Reference< XConnection > OAcceptor::accept( const OUString &sConnectionDescription )
{
// if there is a thread already accepting in this object, throw an exception.