diff options
author | Michael Stahl <mst@openoffice.org> | 2009-11-02 19:08:00 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2009-11-02 19:08:00 +0100 |
commit | 296fef7e82f0bf842428eaa97dff207399dc563e (patch) | |
tree | 53f9b5dad1a164b49652dcba14f8d0f71427d72a /sw/source | |
parent | c635b740e00d1762c905cdd787fdb31753dab932 (diff) |
#i105745#: tools/stream.hxx: API change:
make SvMemoryStream::GetSize() private
introduce new public SvMemoryStream::GetEndOfData()
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/rtf/rtfatr.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/app/docsh2.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/rtf/rtfatr.cxx b/sw/source/filter/rtf/rtfatr.cxx index fc60c857aedb..e699cd64f0cb 100644 --- a/sw/source/filter/rtf/rtfatr.cxx +++ b/sw/source/filter/rtf/rtfatr.cxx @@ -530,7 +530,7 @@ void OutRTF_SwFlyFrmFmt( SwRTFWriter& rRTFWrt ) rRTFWrt.SetStrm( *pSaveStrm ); // Stream-Pointer wieder zurueck - if( aTmpStrm.GetSize() ) // gibt es SWG spezifische Attribute ?? + if ( aTmpStrm.GetEndOfData() ) // gibt es SWG spezifische Attribute? { aTmpStrm.Seek( 0L ); rRTFWrt.Strm() << '{' << OOO_STRING_SVTOOLS_RTF_IGNORE << aTmpStrm << '}'; diff --git a/sw/source/ui/app/docsh2.cxx b/sw/source/ui/app/docsh2.cxx index 3fd1e879b063..a967799be78e 100644 --- a/sw/source/ui/app/docsh2.cxx +++ b/sw/source/ui/app/docsh2.cxx @@ -1134,7 +1134,7 @@ void SwDocShell::Execute(SfxRequest& rReq) xRef( pClipCntnr ); pClipCntnr->CopyAnyData( FORMAT_RTF, (sal_Char*) - pStrm->GetData(), pStrm->GetSize() ); + pStrm->GetData(), pStrm->GetEndOfData() ); pClipCntnr->CopyToClipboard( GetView()? (Window*)&GetView()->GetEditWin() : 0 ); delete pStrm; |