summaryrefslogtreecommitdiff
path: root/ucbhelper/source/client/content.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucbhelper/source/client/content.cxx')
-rw-r--r--ucbhelper/source/client/content.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 9641a4e0a87a..5c698a2d7ba6 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -74,6 +74,8 @@ using namespace com::sun::star::uno;
namespace ucbhelper
{
+namespace {
+
class EmptyInputStream : public ::cppu::WeakImplHelper< XInputStream >
{
public:
@@ -86,6 +88,8 @@ public:
virtual void SAL_CALL closeInput() override;
};
+}
+
sal_Int32 EmptyInputStream::readBytes(
Sequence< sal_Int8 > & data, sal_Int32 )
{
@@ -116,6 +120,7 @@ void EmptyInputStream::closeInput()
// class ContentEventListener_Impl.
+namespace {
class ContentEventListener_Impl : public cppu::OWeakObject,
public XContentEventListener
@@ -140,13 +145,14 @@ public:
virtual void SAL_CALL disposing( const EventObject& Source ) override;
};
+}
// class Content_Impl.
class Content_Impl : public salhelper::SimpleReferenceObject
{
-friend class ContentEventListener_Impl;
+friend ContentEventListener_Impl;
mutable OUString m_aURL;
Reference< XComponentContext > m_xCtx;