diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-25 14:42:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-25 15:51:31 +0100 |
commit | 86ac0bd31464bd802d4367f2152e7f8e0e9506e9 (patch) | |
tree | a3643b2bd71fdf8daa658e963d7edc92054610a7 /vcl/source/window | |
parent | 8d1295a104235ce003c9f44fc24072985706290f (diff) |
Window::SetData and Window::GetData are nearly unused now
except for..
a) one use in sw which we can replace with a map
b) one use in svx which didn't do anything
c) one amusing piece of crazy in cui
Change-Id: If66d9f7eab1eaddfb2bdab7815c3a6f22f4d7745
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/window.cxx | 1 | ||||
-rw-r--r-- | vcl/source/window/window2.cxx | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 623275beb0d8..83ae01cd4bf0 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -606,7 +606,6 @@ WindowImpl::WindowImpl( WindowType nType ) mpDlgCtrlDownWindow = nullptr; // window for dialog control mnEventListenersIteratingCount = 0; mnChildEventListenersIteratingCount = 0; - mpUserData = nullptr; // user data mpCursor = nullptr; // cursor mpControlFont = nullptr; // font properties mpVCLXWindow = nullptr; diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index 95a6e1de8794..cd67ca6e72f4 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -1304,16 +1304,6 @@ const OUString& Window::GetQuickHelpText() const return mpWindowImpl->maQuickHelpText; } -void Window::SetData( void* pNewData ) -{ - mpWindowImpl->mpUserData = pNewData; -} - -void* Window::GetData() const -{ - return mpWindowImpl->mpUserData; -} - bool Window::IsCreatedWithToolkit() const { return mpWindowImpl->mbCreatedWithToolkit; |