diff options
Diffstat (limited to 'xmlscript/source/xml_helper/xml_byteseq.cxx')
-rw-r--r-- | xmlscript/source/xml_helper/xml_byteseq.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xmlscript/source/xml_helper/xml_byteseq.cxx b/xmlscript/source/xml_helper/xml_byteseq.cxx index 23322324bf4e..693ef301384e 100644 --- a/xmlscript/source/xml_helper/xml_byteseq.cxx +++ b/xmlscript/source/xml_helper/xml_byteseq.cxx @@ -32,6 +32,8 @@ using namespace com::sun::star::uno; namespace xmlscript { +namespace { + class BSeqInputStream : public ::cppu::WeakImplHelper< io::XInputStream > { @@ -55,6 +57,8 @@ public: virtual void SAL_CALL closeInput() override; }; +} + sal_Int32 BSeqInputStream::readBytes( Sequence< sal_Int8 > & rData, sal_Int32 nBytesToRead ) { @@ -91,6 +95,8 @@ void BSeqInputStream::closeInput() { } +namespace { + class BSeqOutputStream : public ::cppu::WeakImplHelper< io::XOutputStream > { @@ -108,6 +114,8 @@ public: virtual void SAL_CALL closeOutput() override; }; +} + void BSeqOutputStream::writeBytes( Sequence< sal_Int8 > const & rData ) { sal_Int32 nPos = _seq->size(); |