diff options
Diffstat (limited to 'tools/inc/tools/weakbase.hxx')
-rw-r--r-- | tools/inc/tools/weakbase.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/inc/tools/weakbase.hxx b/tools/inc/tools/weakbase.hxx index 5e941910147c..8c4c164987ca 100644 --- a/tools/inc/tools/weakbase.hxx +++ b/tools/inc/tools/weakbase.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -112,19 +112,19 @@ inline sal_Bool WeakReference< reference_type >::operator==(const WeakReference< } template< class reference_type > -inline sal_Bool WeakReference< reference_type >::operator!=(const WeakReference<reference_type> & handle) const +inline sal_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 sal_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 sal_Bool WeakReference< reference_type >::operator>(const WeakReference<reference_type> & handle) const { return mpWeakConnection->mpReference > handle.mpWeakConnection->mpReference; } |