diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-02 15:17:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-04 08:56:56 +0200 |
commit | 869683945a801e86590c165bc6f08832adb7ebb1 (patch) | |
tree | 030ef94da554a2a4a3a3ab8557727afe5e2ecced /connectivity/source/inc/file | |
parent | de0a2f6ae7fdfccc17e2b93006a3d308ac15868b (diff) |
loplugin:useuniqueptr in connectivity::OSortIndex
Change-Id: Ie403862020e8fd1eba96d753e33e9fe5b556f949
Reviewed-on: https://gerrit.libreoffice.org/53764
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/inc/file')
-rw-r--r-- | connectivity/source/inc/file/FResultSet.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/inc/file/FResultSet.hxx b/connectivity/source/inc/file/FResultSet.hxx index 5ccbbd369101..fae15e2c3bf2 100644 --- a/connectivity/source/inc/file/FResultSet.hxx +++ b/connectivity/source/inc/file/FResultSet.hxx @@ -129,7 +129,7 @@ namespace connectivity bool bEvaluate = true, bool bRetrieveData = true); - OKeyValue* GetOrderbyKeyValue(OValueRefRow const & _rRow); + std::unique_ptr<OKeyValue> GetOrderbyKeyValue(OValueRefRow const & _rRow); bool IsSorted() const { return !m_aOrderbyColumnNumber.empty() && m_aOrderbyColumnNumber[0] >= 0;} // return true when the select statement is "select count(*) from table" |