From ab02fa6552fb098990e74f2787cf02b01c0e532b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 29 Feb 2012 10:08:18 +0000 Subject: callcatcher: update list --- tools/inc/tools/stream.hxx | 2 +- tools/inc/tools/unqidx.hxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/inc') diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx index 82d322aa363d..6482fdd4cc7b 100644 --- a/tools/inc/tools/stream.hxx +++ b/tools/inc/tools/stream.hxx @@ -639,9 +639,9 @@ private: SvFileStream & operator= (const SvFileStream&); sal_Bool LockRange( sal_Size nByteOffset, sal_Size nBytes ); - sal_Bool UnlockRange( sal_Size nByteOffset, sal_Size nBytes ); sal_Bool LockFile(); #ifdef WNT + sal_Bool UnlockRange( sal_Size nByteOffset, sal_Size nBytes ); sal_Bool UnlockFile(); #endif protected: diff --git a/tools/inc/tools/unqidx.hxx b/tools/inc/tools/unqidx.hxx index 715341c5dd34..1f806f9e31b1 100644 --- a/tools/inc/tools/unqidx.hxx +++ b/tools/inc/tools/unqidx.hxx @@ -46,6 +46,8 @@ private: sal_uIntPtr nUniqIndex; sal_uIntPtr nCount; + void* Seek( sal_uIntPtr nIndex ); //not implemented + public: using Container::GetCurObject; @@ -66,7 +68,6 @@ public: sal_uIntPtr GetIndex( const void* p ) const; sal_Bool IsIndexValid( sal_uIntPtr nIndex ) const; - void* Seek( sal_uIntPtr nIndex ); void* Seek( void* p ); void* First(); void* Last(); @@ -98,6 +99,7 @@ inline void UniqueIndex::Clear() #define DECLARE_UNIQUEINDEX( ClassName, Type ) \ class ClassName : private UniqueIndex \ { \ + Type Seek( sal_uIntPtr nKey ); \ public: \ using UniqueIndex::Clear; \ using UniqueIndex::Count; \ @@ -126,8 +128,6 @@ public: \ sal_uIntPtr GetIndex( const Type p ) const \ { return UniqueIndex::GetIndex( (const void*)p ); } \ \ - Type Seek( sal_uIntPtr nKey ) \ - { return (Type)UniqueIndex::Seek( nKey ); } \ Type Seek( Type p ) \ { return (Type)UniqueIndex::Seek( (void*)p ); } \ Type First() { return (Type)UniqueIndex::First(); } \ -- cgit