summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/csvtablebox.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-04-19 13:05:08 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-04-19 13:05:08 +0000
commit538b513ed804178ddf31842df99169fe9b3523f3 (patch)
tree35168e1f6704e71ad425519876f8d7c7a7a3f8f4 /sc/source/ui/dbgui/csvtablebox.cxx
parent71d1d7fffe0ae298c03c8b3e523869fd958dfe11 (diff)
INTEGRATION: CWS sixtyfour05 (1.9.150); FILE MERGED
2006/04/10 16:22:01 kendy 1.9.150.1: #i63758# Min()/Max() has to have both arguments of the same type
Diffstat (limited to 'sc/source/ui/dbgui/csvtablebox.cxx')
-rw-r--r--sc/source/ui/dbgui/csvtablebox.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/dbgui/csvtablebox.cxx b/sc/source/ui/dbgui/csvtablebox.cxx
index bc1e317ae140..96a4c735bd98 100644
--- a/sc/source/ui/dbgui/csvtablebox.cxx
+++ b/sc/source/ui/dbgui/csvtablebox.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: csvtablebox.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 20:32:44 $
+ * last change: $Author: hr $ $Date: 2006-04-19 14:05:08 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -383,33 +383,33 @@ IMPL_LINK( ScCsvTableBox, CsvCmdHdl, ScCsvControl*, pCtrl )
switch( eType )
{
case CSVCMD_SETPOSCOUNT:
- maData.mnPosCount = Max( nParam1, 1L );
+ maData.mnPosCount = Max( nParam1, sal_Int32( 1 ) );
ImplSetPosOffset( GetFirstVisPos() );
break;
case CSVCMD_SETPOSOFFSET:
ImplSetPosOffset( nParam1 );
break;
case CSVCMD_SETHDRWIDTH:
- maData.mnHdrWidth = Max( nParam1, 0L );
+ maData.mnHdrWidth = Max( nParam1, sal_Int32( 0 ) );
ImplSetPosOffset( GetFirstVisPos() );
break;
case CSVCMD_SETCHARWIDTH:
- maData.mnCharWidth = Max( nParam1, 1L );
+ maData.mnCharWidth = Max( nParam1, sal_Int32( 1 ) );
ImplSetPosOffset( GetFirstVisPos() );
break;
case CSVCMD_SETLINECOUNT:
- maData.mnLineCount = Max( nParam1, 1L );
+ maData.mnLineCount = Max( nParam1, sal_Int32( 1 ) );
ImplSetLineOffset( GetFirstVisLine() );
break;
case CSVCMD_SETLINEOFFSET:
ImplSetLineOffset( nParam1 );
break;
case CSVCMD_SETHDRHEIGHT:
- maData.mnHdrHeight = Max( nParam1, 0L );
+ maData.mnHdrHeight = Max( nParam1, sal_Int32( 0 ) );
ImplSetLineOffset( GetFirstVisLine() );
break;
case CSVCMD_SETLINEHEIGHT:
- maData.mnLineHeight = Max( nParam1, 1L );
+ maData.mnLineHeight = Max( nParam1, sal_Int32( 1 ) );
ImplSetLineOffset( GetFirstVisLine() );
break;
case CSVCMD_MOVERULERCURSOR: