diff options
Diffstat (limited to 'sfx2/source/doc/objmisc.cxx')
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index d44b55e6b753..4462547bf349 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -1029,7 +1029,7 @@ void SfxObjectShell::InitOwnModel_Impl() } pMedium->GetItemSet()->ClearItem( SID_REFERER ); - uno::Reference< frame::XModel > xModel ( GetModel(), uno::UNO_QUERY ); + uno::Reference< frame::XModel > xModel = GetModel(); if ( xModel.is() ) { SfxItemSet *pSet = GetMedium()->GetItemSet(); |