diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 02:08:28 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 02:08:28 +0000 |
commit | b339eff6932664aa29126e59c1f5bc54ad6b43b4 (patch) | |
tree | d655b12d43503265dd690a38d37b46d80b5af05b /dbaccess | |
parent | INTEGRATION: CWS warnings01 (1.24.22); FILE MERGED (diff) | |
download | core-b339eff6932664aa29126e59c1f5bc54ad6b43b4.tar.gz core-b339eff6932664aa29126e59c1f5bc54ad6b43b4.zip |
INTEGRATION: CWS warnings01 (1.14.74); FILE MERGED
2006/03/24 15:36:12 fs 1.14.74.1: #i57457# warning-free code (unxlngi6/.pro + unxsoli4.pro)
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/indexfieldscontrol.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx index 7262635245b1..93fde5aac526 100644 --- a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx +++ b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx @@ -4,9 +4,9 @@ * * $RCSfile: indexfieldscontrol.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: hr $ $Date: 2005-09-23 12:31:19 $ + * last change: $Author: hr $ $Date: 2006-06-20 03:08:28 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -420,7 +420,7 @@ DBG_NAME(IndexFieldsControl) } //------------------------------------------------------------------ - void IndexFieldsControl::InitController(CellControllerRef& _rController, long _nRow, sal_uInt16 _nColumnId) + void IndexFieldsControl::InitController(CellControllerRef& /*_rController*/, long _nRow, sal_uInt16 _nColumnId) { ConstIndexFieldsIterator aFieldDescription; sal_Bool bNewField = !implGetFieldDesc(_nRow, aFieldDescription); @@ -454,18 +454,18 @@ DBG_NAME(IndexFieldsControl) { // and we're in one of the last two rows String sSelectedEntry = m_pFieldNameCell->GetSelectEntry(); sal_Int32 nCurrentRow = GetCurRow(); - sal_Int32 nRowCount = GetRowCount(); + sal_Int32 rowCount = GetRowCount(); - OSL_ENSURE(((sal_Int32)(m_aFields.size() + 1)) == nRowCount, "IndexFieldsControl::OnListEntrySelected: inconsistence!"); + OSL_ENSURE(((sal_Int32)(m_aFields.size() + 1)) == rowCount, "IndexFieldsControl::OnListEntrySelected: inconsistence!"); - if (sSelectedEntry.Len() && (nCurrentRow == nRowCount - 1) /*&& (!m_nMaxColumnsInIndex || nRowCount < m_nMaxColumnsInIndex )*/ ) + if (sSelectedEntry.Len() && (nCurrentRow == rowCount - 1) /*&& (!m_nMaxColumnsInIndex || rowCount < m_nMaxColumnsInIndex )*/ ) { // in the last row, an non-empty string has been selected // -> insert a new row m_aFields.push_back(OIndexField()); RowInserted(GetRowCount(), 1); Invalidate(GetRowRectPixel(nCurrentRow)); } - else if (!sSelectedEntry.Len() && (nCurrentRow == nRowCount - 2)) + else if (!sSelectedEntry.Len() && (nCurrentRow == rowCount - 2)) { // in the (last-1)th row, an empty entry has been selected // -> remove the last row m_aFields.erase(m_aFields.end() - 1); @@ -510,7 +510,7 @@ DBG_NAME(IndexFieldsControl) return String(); } //------------------------------------------------------------------ - sal_Bool IndexFieldsControl::IsTabAllowed(sal_Bool bForward) const + sal_Bool IndexFieldsControl::IsTabAllowed(sal_Bool /*bForward*/) const { return sal_False; } |