From 915387491ff74bc6ba33d52857770e79f5b4f63c Mon Sep 17 00:00:00 2001 From: Niklas Nebel Date: Thu, 21 Dec 2000 12:59:04 +0000 Subject: casts to avoid warnings --- sc/source/ui/unoobj/linkuno.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sc/source/ui/unoobj/linkuno.cxx') diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx index c2fa51c6cc9f..6a2a66ffafd9 100644 --- a/sc/source/ui/unoobj/linkuno.cxx +++ b/sc/source/ui/unoobj/linkuno.cxx @@ -2,9 +2,9 @@ * * $RCSfile: linkuno.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: dr $ $Date: 2000-11-09 09:40:58 $ + * last change: $Author: nn $ $Date: 2000-12-21 13:59:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -923,7 +923,7 @@ void SAL_CALL ScAreaLinksObj::insertAtPosition( const table::CellAddress& aDestP String aFilterStr = aFilter; String aOptionStr = aFilterOptions; String aSourceStr = aSourceArea; - ScAddress aDestAddr( aDestPos.Column, aDestPos.Row, aDestPos.Sheet ); + ScAddress aDestAddr( (USHORT)aDestPos.Column, (USHORT)aDestPos.Row, aDestPos.Sheet ); aFileStr = ScGlobal::GetAbsDocName( aFileStr, pDocShell ); //! in InsertAreaLink ??? @@ -937,7 +937,7 @@ void SAL_CALL ScAreaLinksObj::insertAtPosition( const table::CellAddress& aDestP void SAL_CALL ScAreaLinksObj::removeByIndex( sal_Int32 nIndex ) throw(uno::RuntimeException) { ScUnoGuard aGuard; - ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nIndex); + ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, (USHORT)nIndex); if (pLink) { //! SetAddUndo oder so -- cgit v1.2.3