summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 13:01:25 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 13:01:25 +0000
commit7d36ee40f93ce543422ac80e7f63d2ce5726d098 (patch)
treee8923535418b798c74fd9f27ca465dd9ffd305eb /unotools
parentaa2673408ab19c17a6664db7545b61c553e9bc51 (diff)
INTEGRATION: CWS warnings01 (1.3.16); FILE MERGED
2006/03/14 13:52:25 fs 1.3.16.1: warning-free code
Diffstat (limited to 'unotools')
-rw-r--r--unotools/inc/unotools/idhelper.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/inc/unotools/idhelper.hxx b/unotools/inc/unotools/idhelper.hxx
index 766e6222d9c7..5499449fe8a0 100644
--- a/unotools/inc/unotools/idhelper.hxx
+++ b/unotools/inc/unotools/idhelper.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: idhelper.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 09:32:11 $
+ * last change: $Author: hr $ $Date: 2006-06-19 14:01:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -192,7 +192,7 @@ void classname::release() \
::osl::MutexGuard aGuard(s_aMutex); \
if (!--s_nReferenced) \
{ \
- delete s_pMap; \
+ delete static_cast< ::utl::MapType2Id *>( s_pMap ); \
s_pMap = NULL; \
} \
} \
@@ -218,7 +218,7 @@ void classname::release() \
\
implCreateMap(); \
\
- ::utl::MapType2Id* pMap = reinterpret_cast< ::utl::MapType2Id *>(s_pMap); \
+ ::utl::MapType2Id* pMap = static_cast< ::utl::MapType2Id *>(s_pMap); \
\
::cppu::OImplementationId& rId = (*pMap)[_rTypes]; \
/* this will create an entry for the given type sequence, if neccessary */ \