diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-05-06 11:02:13 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-05-06 11:02:13 +0000 |
commit | 2eb01eb48c28f9a3ec6418b6028e3a17a3e60aab (patch) | |
tree | 32991a60838de7a9d11c08a006243605e8bfbdcc /sw/source/ui/uiview | |
parent | 1145d0454c51c796e9995fc0f076cb115caeaa18 (diff) |
INTEGRATION: CWS os112 (1.54.200); FILE MERGED
2008/04/08 07:37:41 os 1.54.200.2: RESYNC: (1.54-1.57); FILE MERGED
2008/04/02 13:31:23 os 1.54.200.1: #151343# SaveContentTo: use OutStream not InStream
Diffstat (limited to 'sw/source/ui/uiview')
-rw-r--r-- | sw/source/ui/uiview/srcview.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/uiview/srcview.cxx b/sw/source/ui/uiview/srcview.cxx index 82e02c80110f..a77de112f525 100644 --- a/sw/source/ui/uiview/srcview.cxx +++ b/sw/source/ui/uiview/srcview.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: srcview.cxx,v $ - * $Revision: 1.58 $ + * $Revision: 1.59 $ * * This file is part of OpenOffice.org. * @@ -314,9 +314,9 @@ SwSrcView::~SwSrcView() --------------------------------------------------*/ void SwSrcView::SaveContentTo(SfxMedium& rMed) { - SvStream* pInStream = rMed.GetInStream(); - pInStream->SetStreamCharSet(lcl_GetStreamCharSet(eLoadEncoding)); - aEditWin.Write( *pInStream);//, EE_FORMAT_TEXT); + SvStream* pOutStream = rMed.GetOutStream(); + pOutStream->SetStreamCharSet(lcl_GetStreamCharSet(eLoadEncoding)); + aEditWin.Write( *pOutStream );//, EE_FORMAT_TEXT); } /*-------------------------------------------------------------------- |