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 | 59b949f2f2211cb22b59a6eb40d6d7fba7342646 (patch) | |
tree | 541d308bdf8b4328e4536eb2279b9a8f6f3090ae /sw/source/ui/uiview/srcview.cxx | |
parent | 0fa2ec9a903d8ac204dd87746611ba3ba73984ef (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/srcview.cxx')
-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 cc35eb4ca9..c0d15ae7b4 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); } /*-------------------------------------------------------------------- |