summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:01:39 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:01:39 +0000
commit32cedb1e4de76fe52f5c3b7e9523f039927b7786 (patch)
tree164c675916e506fd3fcc6d0b0ddc4d28b04deca9 /toolkit
parent607dd381487ed982e9fdabc144e081c34f0c1b1a (diff)
INTEGRATION: CWS warnings01 (1.2.26); FILE MERGED
2005/11/11 16:47:33 pl 1.2.26.2: #i55991# removed warnings 2005/10/25 15:56:08 mt 1.2.26.1: #i55991# Warning Free Code
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxsystemdependentwindow.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxsystemdependentwindow.cxx b/toolkit/source/awt/vclxsystemdependentwindow.cxx
index 976dcd9c54fa..afe5e8a1d583 100644
--- a/toolkit/source/awt/vclxsystemdependentwindow.cxx
+++ b/toolkit/source/awt/vclxsystemdependentwindow.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: vclxsystemdependentwindow.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 13:14:29 $
+ * last change: $Author: hr $ $Date: 2006-06-19 23:01:39 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -80,7 +80,7 @@ IMPL_XTYPEPROVIDER_START( VCLXSystemDependentWindow )
VCLXWindow::getTypes()
IMPL_XTYPEPROVIDER_END
-::com::sun::star::uno::Any VCLXSystemDependentWindow::getWindowHandle( const ::com::sun::star::uno::Sequence< sal_Int8 >& ProcessId, sal_Int16 SystemType ) throw(::com::sun::star::uno::RuntimeException)
+::com::sun::star::uno::Any VCLXSystemDependentWindow::getWindowHandle( const ::com::sun::star::uno::Sequence< sal_Int8 >& /*ProcessId*/, sal_Int16 SystemType ) throw(::com::sun::star::uno::RuntimeException)
{
::vos::OGuard aGuard( GetMutex() );
@@ -96,7 +96,7 @@ IMPL_XTYPEPROVIDER_END
if( SystemType == ::com::sun::star::lang::SystemDependent::SYSTEM_XWINDOW )
{
::com::sun::star::awt::SystemDependentXWindow aSD;
- aSD.DisplayPointer = (sal_Int64)pSysData->pDisplay;
+ aSD.DisplayPointer = sal::static_int_cast< sal_Int64 >(reinterpret_cast< sal_IntPtr >(pSysData->pDisplay));
aSD.WindowHandle = pSysData->aWindow;
aRet <<= aSD;
}