summaryrefslogtreecommitdiff
path: root/store/inc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:31:50 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:31:50 +0000
commit3285d3e568c4174cb36663bbb743c10b275d4251 (patch)
treef7a4e734c4f3b5796208d098bfe3338a4f9f7d65 /store/inc
parenta7585f28c5ff940ea58aa83f2a839466deb78c57 (diff)
INTEGRATION: CWS warnings01 (1.3.18); FILE MERGED
2005/09/22 21:54:51 sb 1.3.18.2: RESYNC: (1.3-1.4); FILE MERGED 2005/09/02 16:30:30 sb 1.3.18.1: #i53898# Made code warning-free.
Diffstat (limited to 'store/inc')
-rw-r--r--store/inc/store/object.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/store/inc/store/object.hxx b/store/inc/store/object.hxx
index 4a58eb75a..16cd40a65 100644
--- a/store/inc/store/object.hxx
+++ b/store/inc/store/object.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: object.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 08:39:02 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:31:50 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -34,7 +34,7 @@
************************************************************************/
#ifndef _STORE_OBJECT_HXX_
-#define _STORE_OBJECT_HXX_ "$Revision: 1.4 $"
+#define _STORE_OBJECT_HXX_ "$Revision: 1.5 $"
#ifndef _SAL_TYPES_H_
#include <sal/types.h>
@@ -80,8 +80,8 @@ class OStoreObject : public store::IStoreHandle
{
/** Template function specialization as dynamic_cast replacement.
*/
- friend inline OStoreObject*
- SAL_CALL query (IStoreHandle *pHandle, OStoreObject*);
+ friend OStoreObject*
+ SAL_CALL query<> (IStoreHandle *pHandle, OStoreObject*);
public:
/** Construction.
@@ -124,7 +124,7 @@ private:
/** Template function specialization as dynamic_cast replacement.
*/
-inline OStoreObject*
+template<> inline OStoreObject*
SAL_CALL query (IStoreHandle *pHandle, OStoreObject*)
{
if (pHandle && pHandle->isKindOf (OStoreObject::m_nTypeId))