diff options
Diffstat (limited to 'sc/source/ui/view/tabvwshf.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshf.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwshf.cxx b/sc/source/ui/view/tabvwshf.cxx index 570bf9a7dd8c..29cfc5fe6990 100644 --- a/sc/source/ui/view/tabvwshf.cxx +++ b/sc/source/ui/view/tabvwshf.cxx @@ -568,10 +568,10 @@ void ScTabViewShell::ExecuteTable( SfxRequest& rReq ) // source isn't basic -> ask again bDoIt = ( RET_YES == - QueryBox( GetDialogParent(), + ScopedVclPtr<QueryBox>::Create( GetDialogParent(), WinBits( WB_YES_NO | WB_DEF_YES ), ScGlobal::GetRscString(STR_QUERY_DELTAB) - ).Execute() ); + )->Execute() ); } if( bDoIt ) { |