summaryrefslogtreecommitdiff
path: root/xmloff/source/transform/MutableAttrList.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 17:53:39 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 17:53:39 +0000
commit06b2745993d95617b6dda878aa3588c9e58cd91b (patch)
tree2c25bc39a05ad3474da7ffca52a62a86d0748712 /xmloff/source/transform/MutableAttrList.cxx
parent9f86ccd5cb19b0d431f159152adf2d326fd2244e (diff)
INTEGRATION: CWS warnings01 (1.5.34); FILE MERGED
2005/11/03 17:47:14 cl 1.5.34.1: warning free code changes for unxlngi6
Diffstat (limited to 'xmloff/source/transform/MutableAttrList.cxx')
-rw-r--r--xmloff/source/transform/MutableAttrList.cxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/xmloff/source/transform/MutableAttrList.cxx b/xmloff/source/transform/MutableAttrList.cxx
index 5ba39f952dc9..cca131b07e03 100644
--- a/xmloff/source/transform/MutableAttrList.cxx
+++ b/xmloff/source/transform/MutableAttrList.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: MutableAttrList.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 15:48:35 $
+ * last change: $Author: hr $ $Date: 2006-06-19 18:53:39 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -110,8 +110,12 @@ XMLMutableAttributeList* XMLMutableAttributeList::getImplementation(
{
Reference< XUnoTunnel > xUT( xInt, UNO_QUERY );
if( xUT.is() )
- return (XMLMutableAttributeList*)xUT->getSomething(
- XMLMutableAttributeList::getUnoTunnelId() );
+ {
+ return
+ reinterpret_cast<XMLMutableAttributeList*>(
+ sal::static_int_cast<sal_IntPtr>(
+ xUT->getSomething( XMLMutableAttributeList::getUnoTunnelId())));
+ }
else
return NULL;
}
@@ -125,7 +129,7 @@ sal_Int64 SAL_CALL XMLMutableAttributeList::getSomething(
0 == rtl_compareMemory( getUnoTunnelId().getConstArray(),
rId.getConstArray(), 16 ) )
{
- return (sal_Int64)this;
+ return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this));
}
return 0;
}