summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh1.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-19 20:15:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-20 21:14:17 +0200
commit215d1ceaa086e72bb0c7251e97b199a77ef917e1 (patch)
tree0f9545eae30a1c837f3c0b96f003608fddf75f1a /sc/source/ui/view/cellsh1.cxx
parent99343e6305eeeceb40a8e7ff551cb6cb1d2901af (diff)
weld ScDPShowDetailDlg
Change-Id: Ifbb93a71ac891f4a5621edcd1c3f004a278a088d Reviewed-on: https://gerrit.libreoffice.org/54577 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/view/cellsh1.cxx')
-rw-r--r--sc/source/ui/view/cellsh1.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index 697d52cd8a0f..55fa9e421210 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -1083,11 +1083,10 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
if ( pTabViewShell->HasSelectionForDrillDown( nOrientation ) )
{
ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();
- OSL_ENSURE(pFact, "ScAbstractFactory create fail!");
-
+ assert(pFact && "ScAbstractFactory create fail!");
ScopedVclPtr<AbstractScDPShowDetailDlg> pDlg( pFact->CreateScDPShowDetailDlg(
- pTabViewShell->GetDialogParent(), *pDPObj, nOrientation ) );
- OSL_ENSURE(pDlg, "Dialog create fail!");
+ pTabViewShell->GetFrameWeld(), *pDPObj, nOrientation ) );
+ assert(pDlg && "Dialog create fail!");
if ( pDlg->Execute() == RET_OK )
{
OUString aNewDimName( pDlg->GetDimensionName() );