summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-29 13:28:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-05 12:04:36 +0100
commit5c7b954935369cbbd22a6f43be63ac7c0ddbbfdc (patch)
treeac1ee3ab5e080ab65ceef2630d247d9fbe288fbb /connectivity/source/drivers/evoab2
parent68d9583db4226a61ba23398928b9416c5d8745c8 (diff)
loplugin:useuniqueptr in OTable
use rtl::Reference here since these are reference counted data structures, and we hand out references to me via our API Change-Id: I8f69dde2db08519cb3d9de20b4ad54462e3ecc98 Reviewed-on: https://gerrit.libreoffice.org/49180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NTable.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/evoab2/NTable.cxx b/connectivity/source/drivers/evoab2/NTable.cxx
index f6394a972d32..f46189857231 100644
--- a/connectivity/source/drivers/evoab2/NTable.cxx
+++ b/connectivity/source/drivers/evoab2/NTable.cxx
@@ -67,10 +67,10 @@ void OEvoabTable::refreshColumns()
aVector.push_back(xRow->getString(4));
}
}
- if (m_pColumns)
- m_pColumns->reFill(aVector);
+ if (m_xColumns)
+ m_xColumns->reFill(aVector);
else
- m_pColumns = new OEvoabColumns(this,m_aMutex,aVector);
+ m_xColumns = new OEvoabColumns(this,m_aMutex,aVector);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */