diff options
author | Noel Grandin <noel@peralex.com> | 2014-07-10 15:32:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-14 13:31:22 +0200 |
commit | 4ed943a24b79d2e4da30bdb282143327a8bfffd8 (patch) | |
tree | d3d0d1f36fdde9c4e83bf9d8c14b5f8fd0b7afb1 /include/tools | |
parent | 6d2178b8c82ac7d2ac054e55b4221033acfab3d8 (diff) |
inline SvCompatWeakHdlRef typedef
.. only used in 2 places in the same file
Change-Id: I5dc1dc77c3841bf86134f6a48597f8c1e71b2b3f
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/ref.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/tools/ref.hxx b/include/tools/ref.hxx index c2365f18e931..cc52da44d297 100644 --- a/include/tools/ref.hxx +++ b/include/tools/ref.hxx @@ -195,11 +195,9 @@ public: void* GetObj() { return _pObj; } }; -typedef tools::SvRef<SvCompatWeakHdl> SvCompatWeakHdlRef; - class SvCompatWeakBase { - SvCompatWeakHdlRef _xHdl; + tools::SvRef<SvCompatWeakHdl> _xHdl; public: SvCompatWeakHdl* GetHdl() { return _xHdl; } @@ -212,7 +210,7 @@ public: #define SV_DECL_COMPAT_WEAK( ClassName ) \ class ClassName##Weak \ { \ - SvCompatWeakHdlRef _xHdl; \ + tools::SvRef<SvCompatWeakHdl> _xHdl; \ public: \ inline ClassName##Weak( ) {} \ inline ClassName##Weak( ClassName* pObj ) { \ |