summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/WTypeSelect.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-02 14:37:06 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-10-03 05:25:41 +0000
commitc625525ddcc5bd1ceb1be95031da6047280d623c (patch)
treef3469c6d418dadd723d4b91b8166015b3f6442b9 /dbaccess/source/ui/misc/WTypeSelect.cxx
parent4a0fc2fb026ee46f7ef8e75135e2ae9b411ae134 (diff)
rename SvRef::AddRef to AddFirstRef
to make it's intended purpose clearly distinguishable from AddNextRef Change-Id: I5da780b48b19fd873667b648031bc394113f953b Reviewed-on: https://gerrit.libreoffice.org/11763 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'dbaccess/source/ui/misc/WTypeSelect.cxx')
-rw-r--r--dbaccess/source/ui/misc/WTypeSelect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx
index 46f952f2dd14..3bb89f9127ee 100644
--- a/dbaccess/source/ui/misc/WTypeSelect.cxx
+++ b/dbaccess/source/ui/misc/WTypeSelect.cxx
@@ -443,7 +443,7 @@ void OWizTypeSelect::fillColumnList(sal_uInt32 nRows)
SvParser *pReader = createReader(nRows);
if(pReader)
{
- pReader->AddRef();
+ pReader->AddFirstRef();
pReader->CallParser();
pReader->ReleaseRef();
}