summaryrefslogtreecommitdiff
path: root/extensions/source/dbpilots/gridwizard.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-01-14 13:43:12 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-01-14 13:43:12 +0000
commitbb225e8e42e9f5d1222f66be3143967f04cf931b (patch)
tree37686e0fc4bd40fcd1bec720aaf0671aa1395619 /extensions/source/dbpilots/gridwizard.cxx
parent4471424db2c52ad7da14e1a74eb12bddfb5ea082 (diff)
INTEGRATION: CWS wae4extensions (1.16.78); FILE MERGED
2007/09/27 07:18:23 fs 1.16.78.1: #i81612# warning-free code
Diffstat (limited to 'extensions/source/dbpilots/gridwizard.cxx')
-rw-r--r--extensions/source/dbpilots/gridwizard.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/extensions/source/dbpilots/gridwizard.cxx b/extensions/source/dbpilots/gridwizard.cxx
index 01c4a6df488b..fdc38779c4dd 100644
--- a/extensions/source/dbpilots/gridwizard.cxx
+++ b/extensions/source/dbpilots/gridwizard.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: gridwizard.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: rt $ $Date: 2007-04-26 08:06:32 $
+ * last change: $Author: ihi $ $Date: 2008-01-14 14:43:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -225,9 +225,9 @@ namespace dbp
ConstStringArrayIterator pColumnServiceName = aColumnServiceNames.begin();
ConstStringArrayIterator pColumnLabelPostfix = aColumnLabelPostfixes.begin();
ConstStringArrayIterator pFormFieldName = aFormFieldNames.begin();
- ConstStringArrayIterator pEnd = aColumnServiceNames.end();
+ ConstStringArrayIterator pColumnServiceNameEnd = aColumnServiceNames.end();
- for (;pColumnServiceName < pEnd; ++pColumnServiceName, ++pColumnLabelPostfix, ++pFormFieldName)
+ for (;pColumnServiceName < pColumnServiceNameEnd; ++pColumnServiceName, ++pColumnLabelPostfix, ++pFormFieldName)
{
// create a (grid)column for the (resultset)column
try
@@ -398,12 +398,12 @@ namespace dbp
return sal_False;
OGridSettings& rSettings = getSettings();
- WizardState nSelected = m_aSelFields.GetEntryCount();
+ USHORT nSelected = m_aSelFields.GetEntryCount();
rSettings.aSelectedFields.realloc(nSelected);
::rtl::OUString* pSelected = rSettings.aSelectedFields.getArray();
- for (WizardState i=0; i<nSelected; ++i, ++pSelected)
+ for (USHORT i=0; i<nSelected; ++i, ++pSelected)
*pSelected = m_aSelFields.GetEntry(i);
return sal_True;
@@ -432,7 +432,7 @@ namespace dbp
}
//---------------------------------------------------------------------
- IMPL_LINK(OGridFieldsSelection, OnEntrySelected, ListBox*, NOTINTERESTEDIN)
+ IMPL_LINK(OGridFieldsSelection, OnEntrySelected, ListBox*, /*NOTINTERESTEDIN*/)
{
implCheckButtons();
return 0L;
@@ -445,11 +445,11 @@ namespace dbp
ListBox& rMoveTo = bMoveRight ? m_aSelFields : m_aExistFields;
// the index of the selected entry
- WizardState nSelected = bMoveRight ? m_aExistFields.GetSelectEntryPos() : m_aSelFields.GetSelectEntryPos();
+ USHORT nSelected = bMoveRight ? m_aExistFields.GetSelectEntryPos() : m_aSelFields.GetSelectEntryPos();
// the (original) relative position of the entry
sal_IntPtr nRelativeIndex = reinterpret_cast<sal_IntPtr>(bMoveRight ? m_aExistFields.GetEntryData(nSelected) : m_aSelFields.GetEntryData(nSelected));
- WizardState nInsertPos = LISTBOX_APPEND;
+ USHORT nInsertPos = LISTBOX_APPEND;
if (!bMoveRight)
{ // need to determine an insert pos which reflects the original
nInsertPos = 0;
@@ -472,7 +472,7 @@ namespace dbp
// remove the entry from it's old list
if (bMoveRight)
{
- WizardState nSelectPos = m_aExistFields.GetSelectEntryPos();
+ USHORT nSelectPos = m_aExistFields.GetSelectEntryPos();
m_aExistFields.RemoveEntry(nSelected);
if ((LISTBOX_ENTRY_NOTFOUND != nSelectPos) && (nSelectPos < m_aExistFields.GetEntryCount()))
m_aExistFields.SelectEntryPos(nSelectPos);
@@ -481,7 +481,7 @@ namespace dbp
}
else
{
- WizardState nSelectPos = m_aSelFields.GetSelectEntryPos();
+ USHORT nSelectPos = m_aSelFields.GetSelectEntryPos();
m_aSelFields.RemoveEntry(nSelected);
if ((LISTBOX_ENTRY_NOTFOUND != nSelectPos) && (nSelectPos < m_aSelFields.GetEntryCount()))
m_aSelFields.SelectEntryPos(nSelectPos);