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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user