vcl/unx/kde4/KDE4FilePicker.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6d65d57ddc04265a7e68a44f2eb9a8ae6e0776d2 Author: Caolán McNamara <caol...@redhat.com> Date: Thu May 19 13:31:21 2016 +0100 GetSystemData: this cast achieves nothing SystemChildWindow has the dubious GetSystemData non-override, but this is a SystemWindow and the case is a static_cast, so just drop this meaningless cast here Change-Id: Ib11b522eff2646f39deb1152bf3e3096dd654db5 diff --git a/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx index a5a7560..229aa02 100644 --- a/vcl/unx/kde4/KDE4FilePicker.cxx +++ b/vcl/unx/kde4/KDE4FilePicker.cxx @@ -243,7 +243,7 @@ sal_Int16 SAL_CALL KDE4FilePicker::execute() vcl::Window *pParentWin = Application::GetDefDialogParent(); if ( pParentWin ) { - const SystemEnvData* pSysData = static_cast<SystemWindow *>(pParentWin)->GetSystemData(); + const SystemEnvData* pSysData = pParentWin->GetSystemData(); if ( pSysData ) { KWindowSystem::setMainWindow( _dialog, pSysData->aWindow); // unx only
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits