diff options
author | Niklas Nebel <nn@openoffice.org> | 2000-12-21 12:59:04 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2000-12-21 12:59:04 +0000 |
commit | 915387491ff74bc6ba33d52857770e79f5b4f63c (patch) | |
tree | 187921a607dcc5cf9e89863fdd80d72c6464a1fb /sc/source/ui/unoobj/linkuno.cxx | |
parent | 5dc9466a1b64632a56c2792d6238e992888e7f7c (diff) |
casts to avoid warnings
Diffstat (limited to 'sc/source/ui/unoobj/linkuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/linkuno.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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 |