diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-19 08:55:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-19 11:31:09 +0000 |
commit | 6f754f4bd7223155591cfa9df05973db5116be81 (patch) | |
tree | a77aa298378f29e80b5e65f272c7bd3579d43730 /sc/source/ui/view/cellsh1.cxx | |
parent | 03e7a16fe2802160b8344058f225a57bdb9c59f5 (diff) |
convert subtotals dialog to .ui
Change-Id: Icab4e598c5355a1e971fdaa5a0a4d0d72c703021
Diffstat (limited to 'sc/source/ui/view/cellsh1.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 659307c850dd..2f64ea6fc519 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -2729,10 +2729,10 @@ void ScCellShell::ExecuteSubtotals(SfxRequest& rReq) aArgSet.Put( ScSubTotalItem( SCITEM_SUBTDATA, GetViewData(), &aSubTotalParam ) ); ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create(); - OSL_ENSURE(pFact, "ScAbstractFactory create fail!"); + assert(pFact); //"ScAbstractFactory create fail - pDlg = pFact->CreateScSubTotalDlg( pTabViewShell->GetDialogParent(), &aArgSet, RID_SCDLG_SUBTOTALS ); - OSL_ENSURE(pDlg, "Dialog create fail!"); + pDlg = pFact->CreateScSubTotalDlg(pTabViewShell->GetDialogParent(), &aArgSet); + assert(pDlg); // "Dialog create fail pDlg->SetCurPageId(1); short bResult = pDlg->Execute(); |