summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-12 19:21:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-12 22:19:28 +0200
commite4228ba740f86f701b9d6f0472b65383f4cf44f0 (patch)
treeed7a6063d43053569e6be82f262ef8d4f028d124
parent85d2e68d5c8b1c8351d5062cdf4b32189e6c8254 (diff)
drop intermediate vcl::Window
Change-Id: Ie8455f6082a762e730354e56bac6d76c26de6979 Reviewed-on: https://gerrit.libreoffice.org/72201 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/qa/unit/screenshots/screenshots.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/qa/unit/screenshots/screenshots.cxx b/sc/qa/unit/screenshots/screenshots.cxx
index 402db2452590..96b2779860d2 100644
--- a/sc/qa/unit/screenshots/screenshots.cxx
+++ b/sc/qa/unit/screenshots/screenshots.cxx
@@ -192,8 +192,7 @@ VclPtr<VclAbstractDialog> ScScreenshotTest::createDialogByID(sal_uInt32 nID)
case 8: // "modules/scalc/ui/inputstringdialog.ui"
{
const OString aEmpty("");
- vcl::Window* pWindow = mpViewShell->GetDialogParent();
- pReturnDialog = mpFact->CreateScStringInputDlg(pWindow ? pWindow->GetFrameWeld() : nullptr,
+ pReturnDialog = mpFact->CreateScStringInputDlg(mpViewShell->GetFrameWeld(),
ScResId(SCSTR_APDTABLE), ScResId(SCSTR_NAME),
aDefaultSheetName, aEmpty, aEmpty );
break;