From dcc667ac5ef0d7b4bbdfba0727ef6e2be3ed5313 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 22 Aug 2017 11:11:44 +0200 Subject: convert message box style bits to scoped enum and fix harmless bug in ImpSVGDialog::ImpSVGDialog, which there since commit 6456f1d81090dd5fe44455c09ae3ede7ec6ac38a Date: Fri Feb 4 14:52:54 2011 +0100 ka102: added/removed files for SVG import and module cleanup Change-Id: I66b2ec2b029431ab453e54e962863e4ed7d78962 Reviewed-on: https://gerrit.libreoffice.org/41412 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/view/tabvwshf.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/view/tabvwshf.cxx') diff --git a/sc/source/ui/view/tabvwshf.cxx b/sc/source/ui/view/tabvwshf.cxx index ad32a62964d8..c178a4033d66 100644 --- a/sc/source/ui/view/tabvwshf.cxx +++ b/sc/source/ui/view/tabvwshf.cxx @@ -624,7 +624,7 @@ void ScTabViewShell::ExecuteTable( SfxRequest& rReq ) // Hard warning as there is potential of data loss on deletion bDoIt = ( RET_YES == ScopedVclPtrInstance( GetDialogParent(), - WinBits( WB_YES_NO | WB_DEF_NO ), + MessBoxStyle::YesNo | MessBoxStyle::DefaultNo, ScGlobal::GetRscString(STR_QUERY_PIVOTTABLE_DELTAB))->Execute() ); } else @@ -632,7 +632,7 @@ void ScTabViewShell::ExecuteTable( SfxRequest& rReq ) // no parameter given, ask for confirmation bDoIt = ( RET_YES == ScopedVclPtrInstance( GetDialogParent(), - WinBits( WB_YES_NO | WB_DEF_YES ), + MessBoxStyle::YesNo | MessBoxStyle::DefaultYes, ScGlobal::GetRscString(STR_QUERY_DELTAB))->Execute() ); } } -- cgit