[Libreoffice-commits] core.git: io/source io/test

Noel Grandin noel at peralex.com
Fri Oct 23 10:56:29 UTC 2015


 io/source/acceptor/acc_pipe.cxx    |   36 +++++++++----------
 io/source/acceptor/acc_socket.cxx  |   64 +++++++++++++++++-----------------
 io/source/acceptor/acceptor.hxx    |    4 +-
 io/source/connector/connector.hxx  |   68 ++++++++++++++++++-------------------
 io/source/connector/ctr_pipe.cxx   |   18 ++++-----
 io/source/connector/ctr_socket.cxx |   18 ++++-----
 io/source/stm/odata.cxx            |    8 ++--
 io/source/stm/opump.cxx            |   22 +++++------
 io/test/stm/pumptest.cxx           |   12 +++---
 9 files changed, 125 insertions(+), 125 deletions(-)

New commits:
commit 63cec254e7ce54c7f919442002187638ff5dfed1
Author: Noel Grandin <noel at peralex.com>
Date:   Fri Oct 23 10:44:22 2015 +0200

    com::sun::star->css in io
    
    Change-Id: I4a0cd4b29db91584c23148d659846c71b90b0d65

diff --git a/io/source/acceptor/acc_pipe.cxx b/io/source/acceptor/acc_pipe.cxx
index 9ca89e4..37097aa 100644
--- a/io/source/acceptor/acc_pipe.cxx
+++ b/io/source/acceptor/acc_pipe.cxx
@@ -46,19 +46,19 @@ namespace io_acceptor
         virtual ~PipeConnection();
 
         virtual sal_Int32 SAL_CALL read( Sequence< sal_Int8 >& aReadBytes, sal_Int32 nBytesToRead )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
         virtual void SAL_CALL write( const Sequence< sal_Int8 >& aData )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
         virtual void SAL_CALL flush(  ) throw(
-            ::com::sun::star::io::IOException,
-            ::com::sun::star::uno::RuntimeException, std::exception) override;
+            css::io::IOException,
+            css::uno::RuntimeException, std::exception) override;
         virtual void SAL_CALL close(  )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
         virtual OUString SAL_CALL getDescription(  )
-            throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::uno::RuntimeException, std::exception) override;
     public:
         ::osl::StreamPipe m_pipe;
         oslInterlockedCount m_nStatus;
@@ -83,8 +83,8 @@ namespace io_acceptor
     }
 
     sal_Int32 PipeConnection::read( Sequence < sal_Int8 > & aReadBytes , sal_Int32 nBytesToRead )
-        throw(::com::sun::star::io::IOException,
-              ::com::sun::star::uno::RuntimeException, std::exception)
+        throw(css::io::IOException,
+              css::uno::RuntimeException, std::exception)
     {
         if( ! m_nStatus )
         {
@@ -106,8 +106,8 @@ namespace io_acceptor
     }
 
     void PipeConnection::write( const Sequence < sal_Int8 > &seq )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
         if( ! m_nStatus )
         {
@@ -122,14 +122,14 @@ namespace io_acceptor
     }
 
     void PipeConnection::flush( )
-        throw(  ::com::sun::star::io::IOException,
-                ::com::sun::star::uno::RuntimeException, std::exception)
+        throw(  css::io::IOException,
+                css::uno::RuntimeException, std::exception)
     {
     }
 
     void PipeConnection::close()
-        throw( ::com::sun::star::io::IOException,
-               ::com::sun::star::uno::RuntimeException, std::exception)
+        throw( css::io::IOException,
+               css::uno::RuntimeException, std::exception)
     {
         if(  1 == osl_atomic_increment( (&m_nStatus) ) )
         {
@@ -138,7 +138,7 @@ namespace io_acceptor
     }
 
     OUString PipeConnection::getDescription()
-            throw(::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::uno::RuntimeException, std::exception)
     {
         return m_sDescription;
     }
diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx
index e5bdf63..a5321eb 100644
--- a/io/source/acceptor/acc_socket.cxx
+++ b/io/source/acceptor/acc_socket.cxx
@@ -40,7 +40,7 @@ namespace io_acceptor {
     template<class T>
     struct ReferenceHash
     {
-        size_t operator () (const ::com::sun::star::uno::Reference<T> & ref) const
+        size_t operator () (const css::uno::Reference<T> & ref) const
         {
             return reinterpret_cast<size_t>(ref.get());
         }
@@ -49,50 +49,50 @@ namespace io_acceptor {
     template<class T>
     struct ReferenceEqual
     {
-        bool operator () (const ::com::sun::star::uno::Reference<T> & op1,
-                              const ::com::sun::star::uno::Reference<T> & op2) const
+        bool operator () (const css::uno::Reference<T> & op1,
+                          const css::uno::Reference<T> & op2) const
         {
             return op1.get() == op2.get();
         }
     };
 
 
-    typedef std::unordered_set< ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener>,
-                             ReferenceHash< ::com::sun::star::io::XStreamListener>,
-                             ReferenceEqual< ::com::sun::star::io::XStreamListener> >
+    typedef std::unordered_set< css::uno::Reference< css::io::XStreamListener>,
+                                ReferenceHash< css::io::XStreamListener>,
+                                ReferenceEqual< css::io::XStreamListener> >
             XStreamListener_hash_set;
 
 
     class SocketConnection : public ::cppu::WeakImplHelper<
-        ::com::sun::star::connection::XConnection,
-        ::com::sun::star::connection::XConnectionBroadcaster>
+        css::connection::XConnection,
+        css::connection::XConnectionBroadcaster>
 
     {
     public:
         SocketConnection( const OUString & sConnectionDescription );
         virtual ~SocketConnection();
 
-        virtual sal_Int32 SAL_CALL read( ::com::sun::star::uno::Sequence< sal_Int8 >& aReadBytes,
+        virtual sal_Int32 SAL_CALL read( css::uno::Sequence< sal_Int8 >& aReadBytes,
                                          sal_Int32 nBytesToRead )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
-        virtual void SAL_CALL write( const ::com::sun::star::uno::Sequence< sal_Int8 >& aData )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
+        virtual void SAL_CALL write( const css::uno::Sequence< sal_Int8 >& aData )
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
         virtual void SAL_CALL flush(  ) throw(
-            ::com::sun::star::io::IOException,
-            ::com::sun::star::uno::RuntimeException, std::exception) override;
+            css::io::IOException,
+            css::uno::RuntimeException, std::exception) override;
         virtual void SAL_CALL close(  )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
         virtual OUString SAL_CALL getDescription(  )
-            throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::uno::RuntimeException, std::exception) override;
 
         // XConnectionBroadcaster
-        virtual void SAL_CALL addStreamListener(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener>& aListener)
-            throw(::com::sun::star::uno::RuntimeException, std::exception) override;
-        virtual void SAL_CALL removeStreamListener(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener>& aListener)
-            throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+        virtual void SAL_CALL addStreamListener(const css::uno::Reference< css::io::XStreamListener>& aListener)
+            throw(css::uno::RuntimeException, std::exception) override;
+        virtual void SAL_CALL removeStreamListener(const css::uno::Reference< css::io::XStreamListener>& aListener)
+            throw(css::uno::RuntimeException, std::exception) override;
 
     public:
         void completeConnectionString();
@@ -190,8 +190,8 @@ namespace io_acceptor {
     }
 
     sal_Int32 SocketConnection::read( Sequence < sal_Int8 > & aReadBytes , sal_Int32 nBytesToRead )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
         if( ! m_nStatus )
         {
@@ -238,8 +238,8 @@ namespace io_acceptor {
     }
 
     void SocketConnection::write( const Sequence < sal_Int8 > &seq )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
         if( ! m_nStatus )
         {
@@ -274,15 +274,15 @@ namespace io_acceptor {
     }
 
     void SocketConnection::flush( )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
 
     }
 
     void SocketConnection::close()
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
         // ensure close is called only once
         if(  1 == osl_atomic_increment( (&m_nStatus) ) )
@@ -293,7 +293,7 @@ namespace io_acceptor {
     }
 
     OUString SocketConnection::getDescription()
-            throw( ::com::sun::star::uno::RuntimeException, std::exception)
+            throw( css::uno::RuntimeException, std::exception)
     {
         return m_sDescription;
     }
diff --git a/io/source/acceptor/acceptor.hxx b/io/source/acceptor/acceptor.hxx
index 8b8c749..704529f 100644
--- a/io/source/acceptor/acceptor.hxx
+++ b/io/source/acceptor/acceptor.hxx
@@ -34,7 +34,7 @@ namespace io_acceptor {
         PipeAcceptor( const OUString &sPipeName , const OUString &sConnectionDescription );
 
         void init();
-        ::com::sun::star::uno::Reference < ::com::sun::star::connection::XConnection >  accept(  );
+        css::uno::Reference < css::connection::XConnection >  accept(  );
 
         void stopAccepting();
 
@@ -54,7 +54,7 @@ namespace io_acceptor {
                         const OUString &sConnectionDescription );
 
         void init();
-        ::com::sun::star::uno::Reference < ::com::sun::star::connection::XConnection > accept();
+        css::uno::Reference < css::connection::XConnection > accept();
 
         void stopAccepting();
 
diff --git a/io/source/connector/connector.hxx b/io/source/connector/connector.hxx
index 71d6abf..117d63d 100644
--- a/io/source/connector/connector.hxx
+++ b/io/source/connector/connector.hxx
@@ -34,7 +34,7 @@ namespace stoc_connector
     template<class T>
     struct ReferenceHash
     {
-        size_t operator () (const ::com::sun::star::uno::Reference<T> & ref) const
+        size_t operator () (const css::uno::Reference<T> & ref) const
         {
             return reinterpret_cast<size_t>(ref.get());
         }
@@ -43,41 +43,41 @@ namespace stoc_connector
     template<class T>
     struct ReferenceEqual
     {
-        bool operator () (const ::com::sun::star::uno::Reference<T> & op1,
-                              const ::com::sun::star::uno::Reference<T> & op2) const
+        bool operator () (const css::uno::Reference<T> & op1,
+                          const css::uno::Reference<T> & op2) const
         {
             return op1.get() == op2.get();
         }
     };
 
-    typedef std::unordered_set< ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener>,
-                             ReferenceHash< ::com::sun::star::io::XStreamListener>,
-                             ReferenceEqual< ::com::sun::star::io::XStreamListener> >
+    typedef std::unordered_set< css::uno::Reference< css::io::XStreamListener>,
+                                ReferenceHash< css::io::XStreamListener>,
+                                ReferenceEqual< css::io::XStreamListener> >
             XStreamListener_hash_set;
 
     class PipeConnection :
-        public ::cppu::WeakImplHelper< ::com::sun::star::connection::XConnection >
+        public ::cppu::WeakImplHelper< css::connection::XConnection >
 
     {
     public:
         PipeConnection( const OUString &sConnectionDescription );
         virtual ~PipeConnection();
 
-        virtual sal_Int32 SAL_CALL read( ::com::sun::star::uno::Sequence< sal_Int8 >& aReadBytes,
+        virtual sal_Int32 SAL_CALL read( css::uno::Sequence< sal_Int8 >& aReadBytes,
                                          sal_Int32 nBytesToRead )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
-        virtual void SAL_CALL write( const ::com::sun::star::uno::Sequence< sal_Int8 >& aData )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
+        virtual void SAL_CALL write( const css::uno::Sequence< sal_Int8 >& aData )
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
         virtual void SAL_CALL flush(  ) throw(
-            ::com::sun::star::io::IOException,
-            ::com::sun::star::uno::RuntimeException, std::exception) override;
+            css::io::IOException,
+            css::uno::RuntimeException, std::exception) override;
         virtual void SAL_CALL close(  )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
         virtual OUString SAL_CALL getDescription(  )
-            throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::uno::RuntimeException, std::exception) override;
     public:
         ::osl::StreamPipe m_pipe;
         oslInterlockedCount m_nStatus;
@@ -85,35 +85,35 @@ namespace stoc_connector
     };
 
     class SocketConnection :
-        public ::cppu::WeakImplHelper< ::com::sun::star::connection::XConnection, ::com::sun::star::connection::XConnectionBroadcaster >
+        public ::cppu::WeakImplHelper< css::connection::XConnection, css::connection::XConnectionBroadcaster >
 
     {
     public:
         SocketConnection( const OUString & sConnectionDescription  );
         virtual ~SocketConnection();
 
-        virtual sal_Int32 SAL_CALL read( ::com::sun::star::uno::Sequence< sal_Int8 >& aReadBytes,
+        virtual sal_Int32 SAL_CALL read( css::uno::Sequence< sal_Int8 >& aReadBytes,
                                          sal_Int32 nBytesToRead )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
-        virtual void SAL_CALL write( const ::com::sun::star::uno::Sequence< sal_Int8 >& aData )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
+        virtual void SAL_CALL write( const css::uno::Sequence< sal_Int8 >& aData )
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
         virtual void SAL_CALL flush(  ) throw(
-            ::com::sun::star::io::IOException,
-            ::com::sun::star::uno::RuntimeException, std::exception) override;
+            css::io::IOException,
+            css::uno::RuntimeException, std::exception) override;
         virtual void SAL_CALL close(  )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception) override;
         virtual OUString SAL_CALL getDescription(  )
-            throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+            throw(css::uno::RuntimeException, std::exception) override;
 
 
         // XConnectionBroadcaster
-        virtual void SAL_CALL addStreamListener(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener>& aListener)
-            throw(::com::sun::star::uno::RuntimeException, std::exception) override;
-        virtual void SAL_CALL removeStreamListener(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStreamListener>& aListener)
-            throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+        virtual void SAL_CALL addStreamListener(const css::uno::Reference< css::io::XStreamListener>& aListener)
+            throw(css::uno::RuntimeException, std::exception) override;
+        virtual void SAL_CALL removeStreamListener(const css::uno::Reference< css::io::XStreamListener>& aListener)
+            throw(css::uno::RuntimeException, std::exception) override;
 
     public:
         void completeConnectionString();
diff --git a/io/source/connector/ctr_pipe.cxx b/io/source/connector/ctr_pipe.cxx
index f9b19ea..df15291 100644
--- a/io/source/connector/ctr_pipe.cxx
+++ b/io/source/connector/ctr_pipe.cxx
@@ -44,8 +44,8 @@ namespace stoc_connector {
     }
 
     sal_Int32 PipeConnection::read( Sequence < sal_Int8 > & aReadBytes , sal_Int32 nBytesToRead )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
         if( ! m_nStatus )
         {
@@ -61,8 +61,8 @@ namespace stoc_connector {
     }
 
     void PipeConnection::write( const Sequence < sal_Int8 > &seq )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
         if( ! m_nStatus )
         {
@@ -77,15 +77,15 @@ namespace stoc_connector {
     }
 
     void PipeConnection::flush( )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
 
     }
 
     void PipeConnection::close()
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
         // ensure that close is called only once
         if(1 == osl_atomic_increment( (&m_nStatus) ) )
@@ -95,7 +95,7 @@ namespace stoc_connector {
     }
 
     OUString PipeConnection::getDescription()
-            throw( ::com::sun::star::uno::RuntimeException, std::exception)
+            throw( css::uno::RuntimeException, std::exception)
     {
         return m_sDescription;
     }
diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx
index 01c62d7..6b53436 100644
--- a/io/source/connector/ctr_socket.cxx
+++ b/io/source/connector/ctr_socket.cxx
@@ -115,8 +115,8 @@ namespace stoc_connector {
     }
 
     sal_Int32 SocketConnection::read( Sequence < sal_Int8 > & aReadBytes , sal_Int32 nBytesToRead )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
         if( ! m_nStatus )
         {
@@ -161,8 +161,8 @@ namespace stoc_connector {
     }
 
     void SocketConnection::write( const Sequence < sal_Int8 > &seq )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
         if( ! m_nStatus )
         {
@@ -197,15 +197,15 @@ namespace stoc_connector {
     }
 
     void SocketConnection::flush( )
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
 
     }
 
     void SocketConnection::close()
-            throw(::com::sun::star::io::IOException,
-                  ::com::sun::star::uno::RuntimeException, std::exception)
+            throw(css::io::IOException,
+                  css::uno::RuntimeException, std::exception)
     {
             // ensure that close is called only once
         if( 1 == osl_atomic_increment( (&m_nStatus) ) )
@@ -216,7 +216,7 @@ namespace stoc_connector {
     }
 
     OUString SocketConnection::getDescription()
-            throw( ::com::sun::star::uno::RuntimeException, std::exception)
+            throw( css::uno::RuntimeException, std::exception)
     {
         return m_sDescription;
     }
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index 4459609..ee37bcb 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -964,7 +964,7 @@ public:
                 { ODataOutputStream::writeUTF( Value );}
 
     // XObjectOutputStream
-        virtual void SAL_CALL writeObject( const Reference< XPersistObject > & r ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
+        virtual void SAL_CALL writeObject( const Reference< XPersistObject > & r ) throw (css::io::IOException, css::uno::RuntimeException, std::exception) override;
 
 public: // XMarkableStream
     virtual sal_Int32 SAL_CALL createMark()                 throw (IOException, RuntimeException, std::exception) override;
@@ -992,7 +992,7 @@ OObjectOutputStream::~OObjectOutputStream()
 {
 }
 
-void OObjectOutputStream::writeObject( const Reference< XPersistObject > & xPObj ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception)
+void OObjectOutputStream::writeObject( const Reference< XPersistObject > & xPObj ) throw (css::io::IOException, css::uno::RuntimeException, std::exception)
 {
 
     connectToMarkable();
@@ -1239,7 +1239,7 @@ public: // XDataInputStream
                 { return ODataInputStream::readUTF(); }
 
 public: // XObjectInputStream
-        virtual Reference< XPersistObject > SAL_CALL readObject( ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) override;
+        virtual Reference< XPersistObject > SAL_CALL readObject( ) throw (css::io::IOException, css::uno::RuntimeException, std::exception) override;
 
 public: // XMarkableStream
     virtual sal_Int32 SAL_CALL createMark()
@@ -1270,7 +1270,7 @@ OObjectInputStream::~OObjectInputStream()
 {
 }
 
-Reference< XPersistObject >  OObjectInputStream::readObject() throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception)
+Reference< XPersistObject >  OObjectInputStream::readObject() throw (css::io::IOException, css::uno::RuntimeException, std::exception)
 {
     // check if chain contains a XMarkableStream
     connectToMarkable();
diff --git a/io/source/stm/opump.cxx b/io/source/stm/opump.cxx
index ac254d2..d967a74 100644
--- a/io/source/stm/opump.cxx
+++ b/io/source/stm/opump.cxx
@@ -80,24 +80,24 @@ namespace io_stm {
         virtual ~Pump();
 
         // XActiveDataSource
-        virtual void SAL_CALL setOutputStream( const Reference< ::com::sun::star::io::XOutputStream >& xOutput ) throw(std::exception) override;
-        virtual Reference< ::com::sun::star::io::XOutputStream > SAL_CALL getOutputStream() throw(std::exception) override;
+        virtual void SAL_CALL setOutputStream( const Reference< css::io::XOutputStream >& xOutput ) throw(std::exception) override;
+        virtual Reference< css::io::XOutputStream > SAL_CALL getOutputStream() throw(std::exception) override;
 
         // XActiveDataSink
-        virtual void SAL_CALL setInputStream( const Reference< ::com::sun::star::io::XInputStream >& xStream ) throw(std::exception) override;
-        virtual Reference< ::com::sun::star::io::XInputStream > SAL_CALL getInputStream() throw(std::exception) override;
+        virtual void SAL_CALL setInputStream( const Reference< css::io::XInputStream >& xStream ) throw(std::exception) override;
+        virtual Reference< css::io::XInputStream > SAL_CALL getInputStream() throw(std::exception) override;
 
         // XActiveDataControl
-        virtual void SAL_CALL addListener( const Reference< ::com::sun::star::io::XStreamListener >& xListener ) throw(std::exception) override;
-        virtual void SAL_CALL removeListener( const Reference< ::com::sun::star::io::XStreamListener >& xListener ) throw(std::exception) override;
+        virtual void SAL_CALL addListener( const Reference< css::io::XStreamListener >& xListener ) throw(std::exception) override;
+        virtual void SAL_CALL removeListener( const Reference< css::io::XStreamListener >& xListener ) throw(std::exception) override;
         virtual void SAL_CALL start() throw( RuntimeException, std::exception ) override;
         virtual void SAL_CALL terminate() throw(std::exception) override;
 
         // XConnectable
-        virtual void SAL_CALL setPredecessor( const Reference< ::com::sun::star::io::XConnectable >& xPred ) throw(std::exception) override;
-        virtual Reference< ::com::sun::star::io::XConnectable > SAL_CALL getPredecessor() throw(std::exception) override;
-        virtual void SAL_CALL setSuccessor( const Reference< ::com::sun::star::io::XConnectable >& xSucc ) throw(std::exception) override;
-        virtual Reference< ::com::sun::star::io::XConnectable > SAL_CALL getSuccessor() throw(std::exception) override;
+        virtual void SAL_CALL setPredecessor( const Reference< css::io::XConnectable >& xPred ) throw(std::exception) override;
+        virtual Reference< css::io::XConnectable > SAL_CALL getPredecessor() throw(std::exception) override;
+        virtual void SAL_CALL setSuccessor( const Reference< css::io::XConnectable >& xSucc ) throw(std::exception) override;
+        virtual Reference< css::io::XConnectable > SAL_CALL getSuccessor() throw(std::exception) override;
 
     public: // XServiceInfo
         virtual OUString    SAL_CALL getImplementationName() throw(std::exception  ) override;
@@ -292,7 +292,7 @@ void Pump::run()
         close();
         fireClose();
     }
-    catch ( const com::sun::star::uno::Exception &e )
+    catch ( const css::uno::Exception &e )
     {
         // we are the last on the stack.
         // this is to avoid crashing the program, when e.g. a bridge crashes
diff --git a/io/test/stm/pumptest.cxx b/io/test/stm/pumptest.cxx
index 60dc414..c4b83d5 100644
--- a/io/test/stm/pumptest.cxx
+++ b/io/test/stm/pumptest.cxx
@@ -241,29 +241,29 @@ public:
                      m_bDisposed( sal_False )
     {}
 
-    virtual void SAL_CALL disposing( const EventObject &obj  ) throw (::com::sun::star::uno::RuntimeException)
+    virtual void SAL_CALL disposing( const EventObject &obj  ) throw (css::uno::RuntimeException)
     {
         m_bDisposed = sal_True;
 //         printf( "disposing called\n");
     }
 
-    virtual void SAL_CALL started(  ) throw (::com::sun::star::uno::RuntimeException)
+    virtual void SAL_CALL started(  ) throw (css::uno::RuntimeException)
     {
         m_bStarted = sal_True;
 //         printf( "started called\n");
     }
-    virtual void SAL_CALL closed(  ) throw (::com::sun::star::uno::RuntimeException)
+    virtual void SAL_CALL closed(  ) throw (css::uno::RuntimeException)
     {
         m_bClosed = sal_True;
 //         printf( "closed called\n");
     }
-    virtual void SAL_CALL terminated(  ) throw (::com::sun::star::uno::RuntimeException)
+    virtual void SAL_CALL terminated(  ) throw (css::uno::RuntimeException)
     {
         m_bTerminated = sal_True;
 //         printf( "terminated called\n");
     }
-    virtual void SAL_CALL error( const ::com::sun::star::uno::Any& aException )
-        throw (::com::sun::star::uno::RuntimeException)
+    virtual void SAL_CALL error( const css::uno::Any& aException )
+        throw (css::uno::RuntimeException)
     {
         m_bError = sal_True;
         Exception e;


More information about the Libreoffice-commits mailing list