diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-18 20:12:03 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-18 22:46:49 +0000 |
commit | 389d8db4d90d427f886d06c3f7304ad973f0d39c (patch) | |
tree | 2a2106de98adac466b5ce8140cb96861f747f514 /include/cppuhelper | |
parent | c0aba6918a8c613d1e4d70ddf9c3be346e34cf4a (diff) |
add some spaces to make it easier to read
Change-Id: I2eb1c74bc0d91d3a12a66989b696fccbf1d2825e
Reviewed-on: https://gerrit.libreoffice.org/25117
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'include/cppuhelper')
-rw-r--r-- | include/cppuhelper/weakref.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cppuhelper/weakref.hxx b/include/cppuhelper/weakref.hxx index 458bd9306706..783649418594 100644 --- a/include/cppuhelper/weakref.hxx +++ b/include/cppuhelper/weakref.hxx @@ -56,12 +56,14 @@ public: @param rWeakRef another weak ref */ WeakReferenceHelper( const WeakReferenceHelper & rWeakRef ); + /** Initialize this reference with the hard interface reference xInt. If the implementation behind xInt does not support XWeak or XInt is null then this reference will be null. @param xInt another hard interface reference */ WeakReferenceHelper( const css::uno::Reference< css::uno::XInterface > & xInt ); + /** Releases this reference. */ ~WeakReferenceHelper(); @@ -94,6 +96,7 @@ public: @return hard reference or null, if the weakly referenced interface has gone */ css::uno::Reference< css::uno::XInterface > SAL_CALL get() const; + /** Gets a hard reference to the object. @return hard reference or null, if the weakly referenced interface has gone |