summaryrefslogtreecommitdiff
path: root/package/inc/ZipPackageBuffer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/inc/ZipPackageBuffer.hxx')
-rw-r--r--package/inc/ZipPackageBuffer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/inc/ZipPackageBuffer.hxx b/package/inc/ZipPackageBuffer.hxx
index aba3f29bd519..8278b3db7e2e 100644
--- a/package/inc/ZipPackageBuffer.hxx
+++ b/package/inc/ZipPackageBuffer.hxx
@@ -40,7 +40,7 @@ public:
virtual ~ZipPackageBuffer();
inline void realloc ( sal_Int32 nSize ) { m_aBuffer.realloc ( nSize ); }
- inline const css::uno::Sequence < sal_Int8> getSequence () const { return m_aBuffer; }
+ const css::uno::Sequence < sal_Int8>& getSequence () const { return m_aBuffer; }
// XInputStream
virtual sal_Int32 SAL_CALL readBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )