summaryrefslogtreecommitdiff
path: root/comphelper/source/streaming
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-27 10:34:56 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-27 11:01:04 +0000
commitd74436fb8681f18c1a4097a8b13c5a138cc73e79 (patch)
treeb2a48556008045a0db89ae9258286470e38a0532 /comphelper/source/streaming
parente5440e415a0dba7f67324162306635e9c7b98078 (diff)
com::sun::star->css in comphelper
Change-Id: I4aa0b2d15f2a06cbbbf63a363f403ca6435ffbcd Reviewed-on: https://gerrit.libreoffice.org/17365 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'comphelper/source/streaming')
-rw-r--r--comphelper/source/streaming/memorystream.cxx4
-rw-r--r--comphelper/source/streaming/seqinputstreamserv.cxx18
-rw-r--r--comphelper/source/streaming/seqoutputstreamserv.cxx10
-rw-r--r--comphelper/source/streaming/seqstream.cxx2
-rw-r--r--comphelper/source/streaming/streamsection.cxx4
5 files changed, 19 insertions, 19 deletions
diff --git a/comphelper/source/streaming/memorystream.cxx b/comphelper/source/streaming/memorystream.cxx
index d4a4ebf8d502..c5439a5e2528 100644
--- a/comphelper/source/streaming/memorystream.cxx
+++ b/comphelper/source/streaming/memorystream.cxx
@@ -70,12 +70,12 @@ public:
virtual void SAL_CALL closeOutput() throw (NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception) SAL_OVERRIDE;
// XTruncate
- virtual void SAL_CALL truncate() throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL truncate() throw (css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo - static versions (used for component registration)
static OUString SAL_CALL getImplementationName_static();
static Sequence< OUString > SAL_CALL getSupportedServiceNames_static();
- static Reference< XInterface > SAL_CALL Create( const Reference< ::com::sun::star::uno::XComponentContext >& );
+ static Reference< XInterface > SAL_CALL Create( const Reference< css::uno::XComponentContext >& );
private:
std::vector< sal_Int8 > maData;
diff --git a/comphelper/source/streaming/seqinputstreamserv.cxx b/comphelper/source/streaming/seqinputstreamserv.cxx
index 233cc8dc6524..5a664842c9ed 100644
--- a/comphelper/source/streaming/seqinputstreamserv.cxx
+++ b/comphelper/source/streaming/seqinputstreamserv.cxx
@@ -50,7 +50,7 @@ class SequenceInputStreamService:
public:
explicit SequenceInputStreamService();
- // ::com::sun::star::lang::XServiceInfo:
+ // css::lang::XServiceInfo:
virtual OUString SAL_CALL getImplementationName() throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService( const OUString & ServiceName ) throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -60,20 +60,20 @@ public:
static uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static();
static uno::Reference< uno::XInterface > SAL_CALL Create( const uno::Reference< uno::XComponentContext >& );
- // ::com::sun::star::io::XInputStream:
+ // css::io::XInputStream:
virtual ::sal_Int32 SAL_CALL readBytes( uno::Sequence< ::sal_Int8 > & aData, ::sal_Int32 nBytesToRead ) throw ( uno::RuntimeException, io::NotConnectedException, io::BufferSizeExceededException, io::IOException, std::exception ) SAL_OVERRIDE;
virtual ::sal_Int32 SAL_CALL readSomeBytes( uno::Sequence< ::sal_Int8 > & aData, ::sal_Int32 nMaxBytesToRead ) throw ( uno::RuntimeException, io::NotConnectedException, io::BufferSizeExceededException, io::IOException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL skipBytes( ::sal_Int32 nBytesToSkip ) throw ( uno::RuntimeException, io::NotConnectedException, io::BufferSizeExceededException, io::IOException, std::exception ) SAL_OVERRIDE;
virtual ::sal_Int32 SAL_CALL available() throw ( uno::RuntimeException, io::NotConnectedException, io::IOException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL closeInput() throw ( uno::RuntimeException, io::NotConnectedException, io::IOException, std::exception ) SAL_OVERRIDE;
- // ::com::sun::star::io::XSeekable:
+ // css::io::XSeekable:
virtual void SAL_CALL seek( ::sal_Int64 location ) throw ( uno::RuntimeException, lang::IllegalArgumentException, io::IOException, std::exception ) SAL_OVERRIDE;
virtual ::sal_Int64 SAL_CALL getPosition() throw ( uno::RuntimeException, io::IOException, std::exception ) SAL_OVERRIDE;
virtual ::sal_Int64 SAL_CALL getLength() throw ( uno::RuntimeException, io::IOException, std::exception ) SAL_OVERRIDE;
- // ::com::sun::star::lang::XInitialization:
- virtual void SAL_CALL initialize( const uno::Sequence< ::com::sun::star::uno::Any > & aArguments ) throw ( uno::RuntimeException, uno::Exception, std::exception ) SAL_OVERRIDE;
+ // css::lang::XInitialization:
+ virtual void SAL_CALL initialize( const uno::Sequence< css::uno::Any > & aArguments ) throw ( uno::RuntimeException, uno::Exception, std::exception ) SAL_OVERRIDE;
private:
virtual ~SequenceInputStreamService() {}
@@ -123,7 +123,7 @@ uno::Reference< uno::XInterface > SAL_CALL SequenceInputStreamService::Create(
return static_cast< ::cppu::OWeakObject * >( new SequenceInputStreamService() );
}
-// ::com::sun::star::io::XInputStream:
+// css::io::XInputStream:
::sal_Int32 SAL_CALL SequenceInputStreamService::readBytes( uno::Sequence< ::sal_Int8 > & aData, ::sal_Int32 nBytesToRead ) throw ( uno::RuntimeException, io::NotConnectedException, io::BufferSizeExceededException, io::IOException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -171,7 +171,7 @@ void SAL_CALL SequenceInputStreamService::closeInput() throw ( uno::RuntimeExcep
m_xSeekable = uno::Reference< io::XSeekable >();
}
-// ::com::sun::star::io::XSeekable:
+// css::io::XSeekable:
void SAL_CALL SequenceInputStreamService::seek( ::sal_Int64 location ) throw ( uno::RuntimeException, lang::IllegalArgumentException, io::IOException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -199,8 +199,8 @@ void SAL_CALL SequenceInputStreamService::seek( ::sal_Int64 location ) throw ( u
return m_xSeekable->getLength();
}
-// ::com::sun::star::lang::XInitialization:
-void SAL_CALL SequenceInputStreamService::initialize( const uno::Sequence< ::com::sun::star::uno::Any > & aArguments ) throw ( uno::RuntimeException, uno::Exception, std::exception )
+// css::lang::XInitialization:
+void SAL_CALL SequenceInputStreamService::initialize( const uno::Sequence< css::uno::Any > & aArguments ) throw ( uno::RuntimeException, uno::Exception, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
if ( m_bInitialized )
diff --git a/comphelper/source/streaming/seqoutputstreamserv.cxx b/comphelper/source/streaming/seqoutputstreamserv.cxx
index 6d604dc9b03f..4f7919203257 100644
--- a/comphelper/source/streaming/seqoutputstreamserv.cxx
+++ b/comphelper/source/streaming/seqoutputstreamserv.cxx
@@ -45,7 +45,7 @@ class SequenceOutputStreamService:
public:
explicit SequenceOutputStreamService();
- // ::com::sun::star::lang::XServiceInfo:
+ // css::lang::XServiceInfo:
virtual OUString SAL_CALL getImplementationName() throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService( const OUString & ServiceName ) throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw ( uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -55,12 +55,12 @@ public:
static uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static();
static uno::Reference< uno::XInterface > SAL_CALL Create( const uno::Reference< uno::XComponentContext >& );
- // ::com::sun::star::io::XOutputStream:
+ // css::io::XOutputStream:
virtual void SAL_CALL writeBytes( const uno::Sequence< ::sal_Int8 > & aData ) throw ( io::NotConnectedException, io::BufferSizeExceededException, io::IOException, uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL flush() throw ( uno::RuntimeException, io::NotConnectedException, io::BufferSizeExceededException, io::IOException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL closeOutput() throw ( uno::RuntimeException, io::NotConnectedException, io::BufferSizeExceededException, io::IOException, std::exception ) SAL_OVERRIDE;
- // ::com::sun::star::io::XSequenceOutputStream:
+ // css::io::XSequenceOutputStream:
virtual uno::Sequence< ::sal_Int8 > SAL_CALL getWrittenBytes( ) throw ( io::NotConnectedException, io::IOException, uno::RuntimeException, std::exception) SAL_OVERRIDE;
private:
@@ -110,7 +110,7 @@ uno::Reference< uno::XInterface > SAL_CALL SequenceOutputStreamService::Create(
return static_cast< ::cppu::OWeakObject * >( new SequenceOutputStreamService());
}
-// ::com::sun::star::io::XOutputStream:
+// css::io::XOutputStream:
void SAL_CALL SequenceOutputStreamService::writeBytes( const uno::Sequence< ::sal_Int8 > & aData ) throw ( uno::RuntimeException, io::NotConnectedException, io::BufferSizeExceededException, io::IOException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -140,7 +140,7 @@ void SAL_CALL SequenceOutputStreamService::closeOutput() throw ( uno::RuntimeExc
m_xOutputStream = uno::Reference< io::XOutputStream >();
}
-// ::com::sun::star::io::XSequenceOutputStream:
+// css::io::XSequenceOutputStream:
uno::Sequence< ::sal_Int8 > SAL_CALL SequenceOutputStreamService::getWrittenBytes() throw ( io::NotConnectedException, io::IOException, uno::RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
diff --git a/comphelper/source/streaming/seqstream.cxx b/comphelper/source/streaming/seqstream.cxx
index 6e8f93b91f75..d2fc2df6087c 100644
--- a/comphelper/source/streaming/seqstream.cxx
+++ b/comphelper/source/streaming/seqstream.cxx
@@ -52,7 +52,7 @@ inline sal_Int32 SequenceInputStream::avail()
return m_aData.getLength() - m_nPos;
}
-// com::sun::star::io::XInputStream
+// css::io::XInputStream
sal_Int32 SAL_CALL SequenceInputStream::readBytes( Sequence<sal_Int8>& aData, sal_Int32 nBytesToRead )
throw(NotConnectedException, BufferSizeExceededException,
diff --git a/comphelper/source/streaming/streamsection.cxx b/comphelper/source/streaming/streamsection.cxx
index ea3955b0264b..4ff71da0dfa5 100644
--- a/comphelper/source/streaming/streamsection.cxx
+++ b/comphelper/source/streaming/streamsection.cxx
@@ -25,7 +25,7 @@ namespace comphelper
OStreamSection::OStreamSection(const css::uno::Reference< css::io::XDataInputStream >& _rxInput)
- :m_xMarkStream(_rxInput, ::com::sun::star::uno::UNO_QUERY)
+ :m_xMarkStream(_rxInput, css::uno::UNO_QUERY)
,m_xInStream(_rxInput)
,m_nBlockStart(-1)
,m_nBlockLen(-1)
@@ -40,7 +40,7 @@ OStreamSection::OStreamSection(const css::uno::Reference< css::io::XDataInputStr
OStreamSection::OStreamSection(const css::uno::Reference< css::io::XDataOutputStream >& _rxOutput, sal_Int32 _nPresumedLength)
- :m_xMarkStream(_rxOutput, ::com::sun::star::uno::UNO_QUERY)
+ :m_xMarkStream(_rxOutput, css::uno::UNO_QUERY)
,m_xOutStream(_rxOutput)
,m_nBlockStart(-1)
,m_nBlockLen(-1)