summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtww8gr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/wrtww8gr.cxx')
-rw-r--r--sw/source/filter/ww8/wrtww8gr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtww8gr.cxx b/sw/source/filter/ww8/wrtww8gr.cxx
index 75ee64c144ae..6f00814e47b5 100644
--- a/sw/source/filter/ww8/wrtww8gr.cxx
+++ b/sw/source/filter/ww8/wrtww8gr.cxx
@@ -332,7 +332,7 @@ void WW8Export::OutputLinkedOLE( const OUString& rOleId )
{
tools::SvRef<SotStorage> xOleDst = xObjStg->OpenSotStorage( rOleId );
if ( xOleDst.Is() )
- xObjSrc->CopyTo( xOleDst );
+ xObjSrc->CopyTo( xOleDst.get() );
if ( !xOleDst->GetError( ) )
{