Resolves: tdf#121409 missing dialog parent

Change-Id: Ia290d3cc40806b2a88e33e6dabcf36543992f882
Reviewed-on: https://gerrit.libreoffice.org/63500
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 3c5a8f5..ba3896e 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -847,7 +847,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )

                ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();

                pDlg.disposeAndReset(pFact->CreateScStyleDlg(rReq.GetFrameWeld(), *pStyleSheet, bPage));
                pDlg.disposeAndReset(pFact->CreateScStyleDlg(pTabViewShell->GetFrameWeld(), *pStyleSheet, bPage));
                short nResult = pDlg->Execute();
                pTabViewShell->SetInFormatDialog(false);