diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-03-29 12:43:41 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-03-29 12:43:41 +0000 |
commit | 41d9c4b5c240a1acd5610bc402cc76f82f101f30 (patch) | |
tree | 4a95b5a3dc7aed8da6ac1553d8e6583aa289fbee /sc/source/filter/inc/ftools.hxx | |
parent | 3b9fb2fec064cc79614685f6f8bb6341f2debf76 (diff) |
INTEGRATION: CWS dr34 (1.16.2); FILE MERGED
2005/03/11 16:40:55 dr 1.16.2.1: #42572# #119281# #i29271# #i5359# chart import improvements
Diffstat (limited to 'sc/source/filter/inc/ftools.hxx')
-rw-r--r-- | sc/source/filter/inc/ftools.hxx | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/sc/source/filter/inc/ftools.hxx b/sc/source/filter/inc/ftools.hxx index 765e6ab77537..db3d24b35223 100644 --- a/sc/source/filter/inc/ftools.hxx +++ b/sc/source/filter/inc/ftools.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ftools.hxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: vg $ $Date: 2005-02-21 13:39:48 $ + * last change: $Author: rt $ $Date: 2005-03-29 13:43:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -231,6 +231,42 @@ private: size_t* mpnCount; }; +template< typename Type > +inline bool operator==( const ScfRef< Type >& rxRef1, const ScfRef< Type >& rxRef2 ) +{ + return rxRef1.get() == rxRef2.get(); +} + +template< typename Type > +inline bool operator!=( const ScfRef< Type >& rxRef1, const ScfRef< Type >& rxRef2 ) +{ + return rxRef1.get() != rxRef2.get(); +} + +template< typename Type > +inline bool operator<( const ScfRef< Type >& rxRef1, const ScfRef< Type >& rxRef2 ) +{ + return rxRef1.get() < rxRef2.get(); +} + +template< typename Type > +inline bool operator>( const ScfRef< Type >& rxRef1, const ScfRef< Type >& rxRef2 ) +{ + return rxRef1.get() > rxRef2.get(); +} + +template< typename Type > +inline bool operator<=( const ScfRef< Type >& rxRef1, const ScfRef< Type >& rxRef2 ) +{ + return rxRef1.get() <= rxRef2.get(); +} + +template< typename Type > +inline bool operator>=( const ScfRef< Type >& rxRef1, const ScfRef< Type >& rxRef2 ) +{ + return rxRef1.get() >= rxRef2.get(); +} + // ============================================================================ class Color; |