summaryrefslogtreecommitdiff
path: root/sd/source/ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/app')
-rw-r--r--sd/source/ui/app/sdxfer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx
index 693dd399c321..11fc9017f64d 100644
--- a/sd/source/ui/app/sdxfer.cxx
+++ b/sd/source/ui/app/sdxfer.cxx
@@ -574,8 +574,8 @@ bool SdTransferable::WriteObject( tools::SvRef<SotTempStream>& rxOStm, void* pOb
pDoc->BurnInStyleSheetAttributes();
rxOStm->SetBufferSize( 16348 );
- Reference< XComponent > xComponent( new SdXImpressDocument( pDoc, true ) );
- pDoc->setUnoModel( Reference< XInterface >::query( xComponent ) );
+ rtl::Reference< SdXImpressDocument > xComponent( new SdXImpressDocument( pDoc, true ) );
+ pDoc->setUnoModel( xComponent );
{
css::uno::Reference<css::io::XOutputStream> xDocOut( new utl::OOutputStreamWrapper( *rxOStm ) );