diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-15 01:04:28 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-15 13:27:11 +0100 |
commit | 8290ca6749b0989b79bfa2e47cb8fb27033b3d81 (patch) | |
tree | 62f8317bb7a541ff28724e7a2374dfad73dd3707 /svx/inc | |
parent | 87c1d4daecb91016e489f2bd50021336531eb628 (diff) |
Move comment text from macro to comment
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/svx/svdetc.hxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/svx/inc/svx/svdetc.hxx b/svx/inc/svx/svdetc.hxx index a5d107c81f..d649bd7683 100644 --- a/svx/inc/svx/svdetc.hxx +++ b/svx/inc/svx/svdetc.hxx @@ -149,18 +149,16 @@ private: public: ContainerSorter(Container& rNewCont): rCont(rNewCont) {} void DoSort(ULONG a=0, ULONG b=0xFFFFFFFF) const; -#ifdef This_Is_Just_For_A_Comment - Compare() muss returnieren: - -1 falls *pElem1<*pElem2 - 0 falls *pElem1=*pElem2 - +1 falls *pElem1>*pElem2 -#endif + + // Compare() has to return: + // -1 if *pElem1<*pElem2 + // 0 if *pElem1=*pElem2 + // +1 if *pElem1>*pElem2 virtual int Compare(const void* pElem1, const void* pElem2) const=0; private: // damit keiner vergessen wird virtual void Is1stLessThan2nd(const void* pElem1, const void* pElem2) const; -// virtual bool Is1stLessThan2nd(const void* pElem1, const void* pElem2) const=NULL; }; //////////////////////////////////////////////////////////////////////////////////////////////////// |