summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/WColumnSelect.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 12:26:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 14:23:39 +0200
commit56be2245bf11ddb64fcfbf8175a864d688ac5c1a (patch)
tree567e7e061a2d1caf653fd44cc02e9c26512cb230 /dbaccess/source/ui/misc/WColumnSelect.cxx
parent2702c2d1eb9af2d03d5e0a1b7704ab170a5e8d31 (diff)
loplugin:constparams in dbaccess
Change-Id: I4994c4f0ae614c8f98466f440412f28380ddd6a6 Reviewed-on: https://gerrit.libreoffice.org/40589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/misc/WColumnSelect.cxx')
-rw-r--r--dbaccess/source/ui/misc/WColumnSelect.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/misc/WColumnSelect.cxx b/dbaccess/source/ui/misc/WColumnSelect.cxx
index ac702ece7af1..84e5d30dc434 100644
--- a/dbaccess/source/ui/misc/WColumnSelect.cxx
+++ b/dbaccess/source/ui/misc/WColumnSelect.cxx
@@ -284,7 +284,7 @@ void OWizColumnSelect::clearListBox(ListBox& _rListBox)
_rListBox.Clear();
}
-void OWizColumnSelect::fillColumns(ListBox* pRight,std::vector< OUString> &_rRightColumns)
+void OWizColumnSelect::fillColumns(ListBox const * pRight,std::vector< OUString> &_rRightColumns)
{
const sal_Int32 nCount = pRight->GetEntryCount();
_rRightColumns.reserve(nCount);
@@ -293,7 +293,7 @@ void OWizColumnSelect::fillColumns(ListBox* pRight,std::vector< OUString> &_rRig
}
void OWizColumnSelect::createNewColumn( ListBox* _pListbox,
- OFieldDescription* _pSrcField,
+ OFieldDescription const * _pSrcField,
std::vector< OUString>& _rRightColumns,
const OUString& _sColumnName,
const OUString& _sExtraChars,
@@ -319,7 +319,7 @@ void OWizColumnSelect::createNewColumn( ListBox* _pListbox,
}
void OWizColumnSelect::moveColumn( ListBox* _pRight,
- ListBox* _pLeft,
+ ListBox const * _pLeft,
std::vector< OUString>& _rRightColumns,
const OUString& _sColumnName,
const OUString& _sExtraChars,
@@ -364,7 +364,7 @@ void OWizColumnSelect::moveColumn( ListBox* _pRight,
// not enough. We need to take into account what fields have
// been removed earlier and adjust accordingly. Based on the
// algorithm employed in moveColumn().
-sal_Int32 OWizColumnSelect::adjustColumnPosition( ListBox* _pLeft,
+sal_Int32 OWizColumnSelect::adjustColumnPosition( ListBox const * _pLeft,
const OUString& _sColumnName,
ODatabaseExport::TColumnVector::size_type nCurrentPos,
const ::comphelper::UStringMixEqual& _aCase)