diff options
Diffstat (limited to 'include/tools/weakbase.hxx')
-rw-r--r-- | include/tools/weakbase.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/tools/weakbase.hxx b/include/tools/weakbase.hxx index 08e85e17d69b..05498e50a8fc 100644 --- a/include/tools/weakbase.hxx +++ b/include/tools/weakbase.hxx @@ -91,31 +91,31 @@ inline reference_type * WeakReference< reference_type >::operator->() const } template< class reference_type > -inline sal_Bool WeakReference< reference_type >::operator==(const reference_type * pReferenceObject) const +inline bool WeakReference< reference_type >::operator==(const reference_type * pReferenceObject) const { return mpWeakConnection->mpReference == pReferenceObject; } template< class reference_type > -inline sal_Bool WeakReference< reference_type >::operator==(const WeakReference<reference_type> & handle) const +inline bool WeakReference< reference_type >::operator==(const WeakReference<reference_type> & handle) const { return mpWeakConnection == handle.mpWeakConnection; } template< class reference_type > -inline sal_Bool WeakReference< reference_type >::operator!=(const WeakReference<reference_type> & handle) const +inline bool WeakReference< reference_type >::operator!=(const WeakReference<reference_type> & handle) const { return mpWeakConnection != handle.mpWeakConnection; } template< class reference_type > -inline sal_Bool WeakReference< reference_type >::operator<(const WeakReference<reference_type> & handle) const +inline bool WeakReference< reference_type >::operator<(const WeakReference<reference_type> & handle) const { return mpWeakConnection->mpReference < handle.mpWeakConnection->mpReference; } template< class reference_type > -inline sal_Bool WeakReference< reference_type >::operator>(const WeakReference<reference_type> & handle) const +inline bool WeakReference< reference_type >::operator>(const WeakReference<reference_type> & handle) const { return mpWeakConnection->mpReference > handle.mpWeakConnection->mpReference; } |