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
commit5afef5b4f4de15428225477fc761285f588585fa (patch)
treea6e70d5ce6b92681ee770a3e9d0bb07cdd1fe79c /store/inc
parent6154e30518a2504b047747fc970f5545f1895e01 (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 4a58eb75a796..16cd40a65850 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))