diff options
-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 |