summaryrefslogtreecommitdiff
path: root/sw/inc/shellio.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-03-30 12:51:35 +0200
committerMichael Stahl <mst@openoffice.org>2010-03-30 12:51:35 +0200
commit7e1bf0010d130597d5658a117737e7d9747dee91 (patch)
tree39f62b5023bc20189e76d9c04986d733bc4c5c03 /sw/inc/shellio.hxx
parent5d58845170113179d5bc9e60d2411196b8d30240 (diff)
sw33bf03: #i110454#: fix ASSERT from WW8Export::ExportDocument_Impl()
Diffstat (limited to 'sw/inc/shellio.hxx')
-rw-r--r--sw/inc/shellio.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 45d413ced105..9208659d9f66 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -439,13 +439,14 @@ class SW_DLLPUBLIC Writer : public SvRefBase
SwAsciiOptions aAscOpts;
String sBaseURL;
+ SvStream * m_pStream;
+
void _AddFontItem( SfxItemPool& rPool, const SvxFontItem& rFont );
void _AddFontItems( SfxItemPool& rPool, USHORT nWhichId );
protected:
Writer_Impl* pImpl;
- SvStream* pStrm;
SwPaM* pOrigPam; // der letze zu bearbeitende Pam
const String* pOrigFileName;
@@ -537,9 +538,9 @@ public:
inline SvStream& OutLong( long nVal ) { return OutLong( Strm(), nVal ); }
inline SvStream& OutULong( ULONG nVal ) { return OutULong( Strm(), nVal ); }
- void SetStrm( SvStream& rStrm ) { pStrm = &rStrm; }
+ void SetStream(SvStream *const pStream) { m_pStream = pStream; }
#ifndef DBG_UTIL
- SvStream& Strm() { return *pStrm; }
+ SvStream& Strm() { return *m_pStream; }
#else
SvStream& Strm();
#endif