From effeb08efd1746a6a2d911452f38dc9c49685548 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sun, 8 Jan 2012 19:48:36 +0100 Subject: Kill SvNullStream duplication --- filter/inc/filter/msfilter/escherex.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'filter/inc') diff --git a/filter/inc/filter/msfilter/escherex.hxx b/filter/inc/filter/msfilter/escherex.hxx index 94f700f2ae4c..bfd78364a42c 100644 --- a/filter/inc/filter/msfilter/escherex.hxx +++ b/filter/inc/filter/msfilter/escherex.hxx @@ -1560,6 +1560,7 @@ class MSFILTER_DLLPUBLIC EscherEx : public EscherPersistTable EscherExGlobalRef mxGlobal; ImplEscherExSdrPtr mpImplEscherExSdr; SvStream* mpOutStrm; + bool mbOwnsStrm; sal_uInt32 mnStrmStartOfs; std::vector< sal_uInt32 > mOffsets; std::vector< sal_uInt16 > mRecTypes; @@ -1578,7 +1579,7 @@ class MSFILTER_DLLPUBLIC EscherEx : public EscherPersistTable virtual sal_Bool DoSeek( sal_uInt32 nKey ); public: - explicit EscherEx( const EscherExGlobalRef& rxGlobal, SvStream& rOutStrm ); + explicit EscherEx( const EscherExGlobalRef& rxGlobal, SvStream* pOutStrm ); virtual ~EscherEx(); /** Creates and returns a new shape identifier, updates the internal shape -- cgit