diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-19 13:51:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-19 14:45:54 +0000 |
commit | aea9c5ecdc17dbc15497afa4b6202f8af8a1a6d5 (patch) | |
tree | 53c218ac59c81bee4cbda9e3d5a3ed28fca48304 /dbaccess/source | |
parent | 2383d557e5751387451cefa33516736228429137 (diff) |
rename to two GetSystemData methods to find all call-sites
anyplace calling GetSystemChildSystemData on a SystemChildWindow is definitely
right
anyplace calling GetWindowSystemData on a Window *might* have intended to call
GetSystemChildSystemData on a Window casted back to an underlying
SystemChildWindow.
Change-Id: I7dcf3a50d0b7ed29bc08cfdb15cc0dcb86be8fa7
Reviewed-on: https://gerrit.libreoffice.org/25158
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/dlg/ConnectionHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.cxx b/dbaccess/source/ui/dlg/ConnectionHelper.cxx index 49be4caf4bd5..be3df530092a 100644 --- a/dbaccess/source/ui/dlg/ConnectionHelper.cxx +++ b/dbaccess/source/ui/dlg/ConnectionHelper.cxx @@ -271,7 +271,7 @@ namespace dbaui { OUString sOldDataSource=getURLNoPrefix(); OUString sNewDataSource; - HWND hWnd = GetParent()->GetSystemData()->hWnd; + HWND hWnd = GetParent()->GetWindowSystemData()->hWnd; sNewDataSource = getAdoDatalink((LONG_PTR)hWnd,sOldDataSource); if ( !sNewDataSource.isEmpty() ) { |