diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 20:23:46 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 20:23:46 +0000 |
commit | b1ca455474e0c8da8618ce162543e5ef9827e910 (patch) | |
tree | 23a439f2862996a1cbe128c0e30f673faeb29b70 /svtools | |
parent | 2bcb01e75d4915d9f6ac6bbe1a2dc2b8870a23ee (diff) |
INTEGRATION: CWS warnings01 (1.4.60); FILE MERGED
2006/01/25 19:50:17 sb 1.4.60.3: RESYNC: (1.4-1.5); FILE MERGED
2005/11/15 19:25:45 pl 1.4.60.2: #i55991# removed warnings
2005/10/25 15:07:41 pl 1.4.60.1: #i55991# removed warnings for linux platform
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/numbers/numuno.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/numbers/numuno.cxx b/svtools/source/numbers/numuno.cxx index f6893fc1dcc9..f021a6c3d6e6 100644 --- a/svtools/source/numbers/numuno.cxx +++ b/svtools/source/numbers/numuno.cxx @@ -4,9 +4,9 @@ * * $RCSfile: numuno.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-12-14 15:01:18 $ + * last change: $Author: hr $ $Date: 2006-06-19 21:23:46 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -91,7 +91,7 @@ void SvNumberFormatsSupplierObj::SetNumberFormatter(SvNumberFormatter* pNew) pImpl->pFormatter = pNew; } -void SvNumberFormatsSupplierObj::NumberFormatDeleted(sal_uInt32 nKey) +void SvNumberFormatsSupplierObj::NumberFormatDeleted(sal_uInt32) { // Basis-Implementierung tut nix... } @@ -128,7 +128,7 @@ sal_Int64 SAL_CALL SvNumberFormatsSupplierObj::getSomething( 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) { - return (sal_Int64)this; + return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_IntPtr>(this)); } return 0; } @@ -157,7 +157,7 @@ SvNumberFormatsSupplierObj* SvNumberFormatsSupplierObj::getImplementation( SvNumberFormatsSupplierObj* pRet = NULL; uno::Reference<lang::XUnoTunnel> xUT( xObj, uno::UNO_QUERY ); if (xUT.is()) - pRet = (SvNumberFormatsSupplierObj*) xUT->getSomething( getUnoTunnelId() ); + pRet = reinterpret_cast<SvNumberFormatsSupplierObj*>(sal::static_int_cast<sal_IntPtr>(xUT->getSomething( getUnoTunnelId() ))); return pRet; } |