diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-01 12:34:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-01 22:13:22 +0200 |
commit | def3802af84a8f1b0d6d885d0481e02d7fa1da64 (patch) | |
tree | 15c82b536a69721ddd728251576b0cc7b982c634 /sc/source | |
parent | 95a9ec752032c82cdd72624b4c0eb030989d0803 (diff) |
parent SfxChildWindow::GetInfo does the same already
Change-Id: I1c3185530f7b892f78f71d2db8534aec07e73e57
Reviewed-on: https://gerrit.libreoffice.org/71623
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/view/reffact.cxx | 12 |
1 files 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 |