diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-02-27 12:01:30 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-02-27 12:01:30 +0000 |
commit | b2780007c4a6ae77cb443b90d87ba0f2b83bc91d (patch) | |
tree | e6284e7191370df0ef5c6cd23eec7771c7c5f744 /sc/source/ui/dbgui/csvtablebox.cxx | |
parent | 3ec7937d7bd0e0f224b1fe21cb3d186a6ed476c0 (diff) |
INTEGRATION: CWS calcwarnings (1.11.110); FILE MERGED
2006/12/12 17:03:08 nn 1.11.110.2: #i69284# warning-free: ui, unxlngi6
2006/12/01 08:53:23 nn 1.11.110.1: #i69284# warning-free: ui, wntmsci10
Diffstat (limited to 'sc/source/ui/dbgui/csvtablebox.cxx')
-rw-r--r-- | sc/source/ui/dbgui/csvtablebox.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/csvtablebox.cxx b/sc/source/ui/dbgui/csvtablebox.cxx index 6a490b30a369..a46ada5303f9 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.11 $ + * $Revision: 1.12 $ * - * last change: $Author: kz $ $Date: 2006-07-21 13:20:36 $ + * last change: $Author: vg $ $Date: 2007-02-27 13:01:30 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -348,7 +348,7 @@ IMPL_LINK( ScCsvTableBox, CsvCmdHdl, ScCsvControl*, pCtrl ) case CSVCMD_INSERTSPLIT: DBG_ASSERT( mbFixedMode, "ScCsvTableBox::CsvCmdHdl::InsertSplit - invalid call" ); - if( maRuler.GetSplitCount() + 1 < CSV_MAXCOLCOUNT ) + if( maRuler.GetSplitCount() + 1 < sal::static_int_cast<sal_uInt32>(CSV_MAXCOLCOUNT) ) { maRuler.InsertSplit( nParam1 ); maGrid.InsertSplit( nParam1 ); @@ -417,6 +417,10 @@ IMPL_LINK( ScCsvTableBox, CsvCmdHdl, ScCsvControl*, pCtrl ) case CSVCMD_MOVEGRIDCURSOR: maData.mnColCursor = ((0 <= nParam1) && (nParam1 < GetPosCount())) ? nParam1 : CSV_POS_INVALID; break; + default: + { + // added to avoid warnings + } } if( maData != aOldData ) |