User: hr      
Date: 06/06/19 20:08:31

Modified:
 /dba/dbaccess/source/ui/dlg/
  indexfieldscontrol.cxx

Log:
 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)

File Changes:

Directory: /dba/dbaccess/source/ui/dlg/
=======================================

File [changed]: indexfieldscontrol.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/indexfieldscontrol.cxx?r1=1.14&r2=1.15
Delta lines:  +6 -6
-------------------
--- indexfieldscontrol.cxx      23 Sep 2005 12:31:19 -0000      1.14
+++ indexfieldscontrol.cxx      20 Jun 2006 03:08:28 -0000      1.15
@@ -420,7 +420,7 @@
        }
 
        //------------------------------------------------------------------
-       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 @@
                        {       // 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 @@
                return String();
        }
        //------------------------------------------------------------------
-       sal_Bool IndexFieldsControl::IsTabAllowed(sal_Bool bForward) const
+       sal_Bool IndexFieldsControl::IsTabAllowed(sal_Bool /*bForward*/) const
        {
                return sal_False;
        }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to