diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-04 13:50:21 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 19:48:04 +0100 |
commit | b72c6feba87bd8707f39902a3066ba476188cb1d (patch) | |
tree | 94791632f79f14214ec7518d18a35ab822676178 /include/vcl/window.hxx | |
parent | d6398719abecfca60db37637490e602222992dc2 (diff) |
manage VCL widgets using rtl::Reference
Change-Id: Ie95790cbaa5d459c8e849d7333098d857d31ed0a
Diffstat (limited to 'include/vcl/window.hxx')
-rw-r--r-- | include/vcl/window.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index bc20cbe7550b..189f15b231df 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -119,6 +119,8 @@ namespace vcl { namespace svt { class PopupWindowControllerImpl; } +template<class T> class VclReference; + // - WindowTypes - @@ -497,6 +499,7 @@ public: private: template<typename T> friend class ::rtl::Reference; + template<typename T> friend class ::VclReference; inline void acquire() const { @@ -512,7 +515,7 @@ private: protected: /** This is intended to be used to clear any locally held references to other Window-subclass objects */ - virtual void dispose() {} + virtual void dispose(); SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle, SystemParentData* pSystemParentData ); |