diff options
Diffstat (limited to 'sfx2/source/doc/objstor.cxx')
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 009f48b27ba5..86ca3b03375f 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -485,7 +485,7 @@ bool SfxObjectShell::DoInitNew( SfxMedium* pMed ) if ( SfxObjectCreateMode::EMBEDDED == eCreateMode ) SetTitle(SfxResId(STR_NONAME)); - uno::Reference< frame::XModel > xModel ( GetModel(), uno::UNO_QUERY ); + uno::Reference< frame::XModel > xModel = GetModel(); if ( xModel.is() ) { SfxItemSet *pSet = GetMedium()->GetItemSet(); |