summaryrefslogtreecommitdiff
path: root/sw/source/ui/app/docsh2.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2009-11-02 19:08:00 +0100
committerMichael Stahl <mst@openoffice.org>2009-11-02 19:08:00 +0100
commit296fef7e82f0bf842428eaa97dff207399dc563e (patch)
tree53f9b5dad1a164b49652dcba14f8d0f71427d72a /sw/source/ui/app/docsh2.cxx
parentc635b740e00d1762c905cdd787fdb31753dab932 (diff)
#i105745#: tools/stream.hxx: API change:
make SvMemoryStream::GetSize() private introduce new public SvMemoryStream::GetEndOfData()
Diffstat (limited to 'sw/source/ui/app/docsh2.cxx')
-rw-r--r--sw/source/ui/app/docsh2.cxx2
1 files changed, 1 insertions, 1 deletions
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;