diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-19 13:05:20 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-04-19 13:05:20 +0000 |
commit | f577b665ee716ed5f83a3dfffa21f5644662401e (patch) | |
tree | 55690d7ea0d2aac7f88af0564590bf68059b00d2 /sc/source/ui/inc/csvtablebox.hxx | |
parent | 538b513ed804178ddf31842df99169fe9b3523f3 (diff) |
INTEGRATION: CWS sixtyfour05 (1.6.150); FILE MERGED
2006/04/10 16:22:01 kendy 1.6.150.1: #i63758#
Min()/Max() has to have both arguments of the same type
Diffstat (limited to 'sc/source/ui/inc/csvtablebox.hxx')
-rw-r--r-- | sc/source/ui/inc/csvtablebox.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/inc/csvtablebox.hxx b/sc/source/ui/inc/csvtablebox.hxx index a1e55cd50477..2bea26ad4890 100644 --- a/sc/source/ui/inc/csvtablebox.hxx +++ b/sc/source/ui/inc/csvtablebox.hxx @@ -4,9 +4,9 @@ * * $RCSfile: csvtablebox.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2005-09-08 21:18:49 $ + * last change: $Author: hr $ $Date: 2006-04-19 14:05:20 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -117,10 +117,10 @@ private: /** Calculates and sets valid position offset nearest to nPos. */ SC_DLLPRIVATE inline void ImplSetPosOffset( sal_Int32 nPos ) - { maData.mnPosOffset = Max( Min( nPos, GetMaxPosOffset() ), 0L ); } + { maData.mnPosOffset = Max( Min( nPos, GetMaxPosOffset() ), sal_Int32( 0 ) ); } /** Calculates and sets valid line offset nearest to nLine. */ SC_DLLPRIVATE inline void ImplSetLineOffset( sal_Int32 nLine ) - { maData.mnLineOffset = Max( Min( nLine, GetMaxLineOffset() ), 0L ); } + { maData.mnLineOffset = Max( Min( nLine, GetMaxLineOffset() ), sal_Int32( 0 ) ); } /** Moves controls (not cursors!) so that nPos becomes visible. */ SC_DLLPRIVATE void MakePosVisible( sal_Int32 nPos ); |