summaryrefslogtreecommitdiff
path: root/sw/source/ui/dochdl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-14 15:30:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-14 15:31:07 +0100
commit8578e3c80d99da0b47cd450a9be61cef28f411b0 (patch)
tree9d728d45a782ceec405e8ec1af2f26ad502c6b2b /sw/source/ui/dochdl
parentc046147142ac08a53ff3fe0dfe59afce69f09cdf (diff)
Related: fdo#40599 add a initial basic test for deleting graphics
Diffstat (limited to 'sw/source/ui/dochdl')
-rwxr-xr-xsw/source/ui/dochdl/swdtflvr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx
index 10c4df3ca6da..9071837531c6 100755
--- a/sw/source/ui/dochdl/swdtflvr.cxx
+++ b/sw/source/ui/dochdl/swdtflvr.cxx
@@ -724,8 +724,8 @@ sal_Bool SwTransferable::WriteObject( SotStorageStreamRef& xStream,
xWrt->SetShowProgress( sal_False );
#if defined(DEBUGPASTE)
- SvFileStream aPasteDebug(rtl::OUString::createFromAscii(
- "PASTEBUFFER.debug"), STREAM_READWRITE);
+ SvFileStream aPasteDebug(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "PASTEBUFFER.debug")), STREAM_WRITE|STREAM_TRUNC);
SwWriter aDbgWrt( aPasteDebug, *pDoc );
aDbgWrt.Write( xWrt );
#endif