From def3802af84a8f1b0d6d885d0481e02d7fa1da64 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 1 May 2019 12:34:23 +0100 Subject: parent SfxChildWindow::GetInfo does the same already MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1c3185530f7b892f78f71d2db8534aec07e73e57 Reviewed-on: https://gerrit.libreoffice.org/71623 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sc/source/ui/view/reffact.cxx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/sc/source/ui/view/reffact.cxx b/sc/source/ui/view/reffact.cxx index 47927d38071c..9887ba56364b 100644 --- a/sc/source/ui/view/reffact.cxx +++ b/sc/source/ui/view/reffact.cxx @@ -55,16 +55,8 @@ SFX_IMPL_CHILDWINDOW_WITHID(ScValidityRefChildWin, SID_VALIDITY_REFERENCE) SfxChildWinInfo ScValidityRefChildWin::GetInfo() const { - SfxChildWinInfo anInfo = SfxChildWindow::GetInfo(); - - auto xDlgController = GetController(); - if (xDlgController) - { - weld::Dialog* pDialog = xController->getDialog(); - aInfo.aSize = pDialog->get_size(); - } - - return anInfo; + SfxChildWinInfo aInfo = SfxChildWindow::GetInfo(); + return aInfo; } namespace -- cgit