summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/file
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-30 09:37:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-05 07:53:55 +0100
commit748167da4e5a7f406d3fec93c9e61a534ec64037 (patch)
tree31586bd0c3261a6d805e555f2ec27de656bf7363 /connectivity/source/inc/file
parent51ee91a3ca869be23153a235cbf33d4d20267fce (diff)
loplugin:useuniqueptr in OStatement_Base
Change-Id: I41bc59c7ff7d711e0fc877e843625fa54c96b6bc Reviewed-on: https://gerrit.libreoffice.org/49183 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/inc/file')
-rw-r--r--connectivity/source/inc/file/FStatement.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx
index fd5006c83253..bb759444fe5c 100644
--- a/connectivity/source/inc/file/FStatement.hxx
+++ b/connectivity/source/inc/file/FStatement.hxx
@@ -78,7 +78,7 @@ namespace connectivity
rtl::Reference<OConnection> m_pConnection;// The owning Connection object
connectivity::OSQLParseNode* m_pParseTree;
- OSQLAnalyzer* m_pSQLAnalyzer; //the sql analyzer used by the resultset
+ std::unique_ptr<OSQLAnalyzer> m_pSQLAnalyzer; //the sql analyzer used by the resultset
rtl::Reference<OFileTable> m_pTable; // the current table
OValueRefRow m_aSelectRow;