summaryrefslogtreecommitdiff
path: root/stoc/source/invocation/invocation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/invocation/invocation.cxx')
-rw-r--r--stoc/source/invocation/invocation.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index 0969578620db..d70ed15cc2b8 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -81,6 +81,7 @@ static Reference<XIdlClass> TypeToIdlClass( const Type& rType, const Reference<
return xRefl->forName( rType.getTypeName() );
}
+namespace {
class Invocation_Impl
: public OWeakObject
@@ -214,6 +215,7 @@ private:
bool const mbFromOLE;
};
+}
Invocation_Impl::Invocation_Impl
(
@@ -694,6 +696,7 @@ Any Invocation_Impl::invoke( const OUString& FunctionName, const Sequence<Any>&
throw aExc;
}
+namespace {
// Struct to optimize sorting
struct MemberItem
@@ -708,6 +711,8 @@ struct MemberItem
sal_Int32 nIndex;
};
+}
+
// Implementation of getting name or info
// String sequence will be filled when pStringSeq != NULL
// Info sequence will be filled when pInfoSeq != NULL
@@ -1004,6 +1009,7 @@ Sequence< sal_Int8 > SAL_CALL Invocation_Impl::getImplementationId( )
return css::uno::Sequence<sal_Int8>();
}
+namespace {
class InvocationService
: public WeakImplHelper< XSingleServiceFactory, XServiceInfo >
@@ -1028,6 +1034,8 @@ private:
Reference<XIdlReflection> xCoreReflection;
};
+}
+
InvocationService::InvocationService( const Reference<XComponentContext> & xCtx )
: mxCtx( xCtx )
, mxSMgr( xCtx->getServiceManager() )