From e74c25fdb15a8940a94260b5f90b6224d4ba34c6 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Fri, 30 Jul 2004 14:29:34 +0000 Subject: INTEGRATION: CWS gcc340fixes01 (1.2.106); FILE MERGED 2004/06/04 15:09:13 fa 1.2.106.1: #i28777# gcc 3.4 fixes (only instantiate static object in template once) --- store/inc/store/object.hxx | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'store/inc') diff --git a/store/inc/store/object.hxx b/store/inc/store/object.hxx index 9a52f3e0fee7..face3a9cb7db 100644 --- a/store/inc/store/object.hxx +++ b/store/inc/store/object.hxx @@ -2,9 +2,9 @@ * * $RCSfile: object.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: mhu $ $Date: 2001-03-13 20:37:59 $ + * last change: $Author: kz $ $Date: 2004-07-30 15:29:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -60,7 +60,7 @@ ************************************************************************/ #ifndef _STORE_OBJECT_HXX_ -#define _STORE_OBJECT_HXX_ "$Revision: 1.2 $" +#define _STORE_OBJECT_HXX_ "$Revision: 1.3 $" #ifndef _SAL_TYPES_H_ #include @@ -97,25 +97,6 @@ template store_handle_type * SAL_CALL query ( IStoreHandle * pHandle, store_handle_type *); - -/** Template helper class as type safe Reference to store_handle_type. - */ -template -class OStoreHandle : public rtl::Reference -{ -public: - OStoreHandle (store_handle_type * pHandle) - : rtl::Reference (pHandle) - {} - - static store_handle_type * SAL_CALL query (void * pHandle) - { - return store::query ( - static_cast(pHandle), - static_cast(0)); - } -}; - /*======================================================================== * * OStoreObject interface. -- cgit v1.2.3