diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-19 13:31:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-19 13:32:35 +0100 |
commit | 6d65d57ddc04265a7e68a44f2eb9a8ae6e0776d2 (patch) | |
tree | 4bfdc4f71e067c95126290b135b7e4721ddeae8d /vcl | |
parent | 9f6ae2c3f1928f2962c70329595fd7a5e88fdc84 (diff) |
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
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/kde4/KDE4FilePicker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx index a5a75604883c..229aa020bb98 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 |