diff options
Diffstat (limited to 'ucbhelper/source/client')
-rw-r--r-- | ucbhelper/source/client/content.cxx | 8 | ||||
-rw-r--r-- | ucbhelper/source/client/proxydecider.cxx | 6 |
2 files changed, 13 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; diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx index b56ffbf76d71..062dd64b2887 100644 --- a/ucbhelper/source/client/proxydecider.cxx +++ b/ucbhelper/source/client/proxydecider.cxx @@ -62,6 +62,8 @@ namespace ucbhelper namespace proxydecider_impl { +namespace { + // A simple case ignoring wildcard matcher. class WildCard { @@ -77,9 +79,12 @@ public: bool Matches( const OUString & rStr ) const; }; +} typedef std::pair< WildCard, WildCard > NoProxyListEntry; +namespace { + class HostnameCache { typedef std::pair< OUString, OUString > HostListEntry; @@ -111,6 +116,7 @@ public: } }; +} class InternetProxyDecider_Impl : public cppu::WeakImplHelper< util::XChangesListener > |