diff options
Diffstat (limited to 'sc/source/ui/view/cellsh3.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx index 3e1c5f11cf51..dd1b2998eec5 100644 --- a/sc/source/ui/view/cellsh3.cxx +++ b/sc/source/ui/view/cellsh3.cxx @@ -422,8 +422,8 @@ void ScCellShell::Execute( SfxRequest& rReq ) } else if( ! rReq.IsAPI() ) { - ScopedVclPtr<MessageDialog> aErrorBox(new MessageDialog(pTabViewShell->GetDialogParent(), - ScGlobal::GetRscString(STR_NOAREASELECTED))); + ScopedVclPtrInstance<MessageDialog> aErrorBox(pTabViewShell->GetDialogParent(), + ScGlobal::GetRscString(STR_NOAREASELECTED)); aErrorBox->Execute(); } } |