diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-09-26 17:17:50 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-23 11:53:17 +0200 |
commit | 20538c25129ebadfa2050c0071887e1e2a46c838 (patch) | |
tree | 2183e7b8733bb90359700e638cfc78c9f90ae6ca /include | |
parent | 8dc668999a9fea8c6fe8acb84dbe1588f670fd78 (diff) |
FastSerializer: Avoid sequences where possible
Change-Id: I359ca9d3b766b71904e4199ebfbdbd5b203775cc
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/seqstream.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/comphelper/seqstream.hxx b/include/comphelper/seqstream.hxx index 75b19343299c..1288a9baea73 100644 --- a/include/comphelper/seqstream.hxx +++ b/include/comphelper/seqstream.hxx @@ -119,6 +119,8 @@ public: /// same as XOutputStream::writeBytes (as expected :) virtual void SAL_CALL writeBytes( const ::com::sun::star::uno::Sequence< sal_Int8 >& aData ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + void SAL_CALL writeBytes( const sal_Int8* pStr, sal_Int32 nLen ) + throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception); /** Resizes the sequence used for writing to the really used size. * Next time, writeBytes will write to the beginning of the sequence. */ |