summaryrefslogtreecommitdiff
path: root/sc/inc/convuno.hxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2000-12-19 08:31:08 +0000
committerNiklas Nebel <nn@openoffice.org>2000-12-19 08:31:08 +0000
commitfb0d90e83aa0870e4e3b3c393a56171060c8cca3 (patch)
tree40b85e56b795a114c6fb2d6bc6228662b2341fbd /sc/inc/convuno.hxx
parent7a3b779719a64f3b466f17b536b819e40011f20d (diff)
casts to avoid warnings
Diffstat (limited to 'sc/inc/convuno.hxx')
-rw-r--r--sc/inc/convuno.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/convuno.hxx b/sc/inc/convuno.hxx
index f6f162f320b7..d84e22b0ce88 100644
--- a/sc/inc/convuno.hxx
+++ b/sc/inc/convuno.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: convuno.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dr $ $Date: 2000-11-09 09:30:31 $
+ * last change: $Author: nn $ $Date: 2000-12-19 09:31:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -122,7 +122,7 @@ inline void ScUnoConversion::FillScAddress(
ScAddress& rScAddress,
const ::com::sun::star::table::CellAddress& rApiAddress )
{
- rScAddress.Set( rApiAddress.Column, rApiAddress.Row, rApiAddress.Sheet );
+ rScAddress.Set( (USHORT)rApiAddress.Column, (USHORT)rApiAddress.Row, (USHORT)rApiAddress.Sheet );
}
inline void ScUnoConversion::FillApiAddress(
@@ -138,8 +138,8 @@ inline void ScUnoConversion::FillScRange(
ScRange& rScRange,
const ::com::sun::star::table::CellRangeAddress& rApiRange )
{
- rScRange.aStart.Set( rApiRange.StartColumn, rApiRange.StartRow, rApiRange.Sheet );
- rScRange.aEnd.Set( rApiRange.EndColumn, rApiRange.EndRow, rApiRange.Sheet );
+ rScRange.aStart.Set( (USHORT)rApiRange.StartColumn, (USHORT)rApiRange.StartRow, (USHORT)rApiRange.Sheet );
+ rScRange.aEnd.Set( (USHORT)rApiRange.EndColumn, (USHORT)rApiRange.EndRow, (USHORT)rApiRange.Sheet );
}
inline void ScUnoConversion::FillApiRange(