summaryrefslogtreecommitdiff
path: root/svx/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-19 16:10:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-21 08:26:15 +0100
commitd425658bd9fd8e315e4931afb544bc845da0360e (patch)
treea35679686a7df2a504b9088ba6807b60c52067fc /svx/source/inc
parent526387b96e9bc2c04b0dc26744bf6b88ea7c0521 (diff)
pass OSQLParseNode around by unique_ptr
Change-Id: I8ffb9e04614472c3645d24bebdc88f91059d12ad Reviewed-on: https://gerrit.libreoffice.org/65436 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/inc')
-rw-r--r--svx/source/inc/sqlparserclient.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/inc/sqlparserclient.hxx b/svx/source/inc/sqlparserclient.hxx
index 06341d76120b..7873c41bbf99 100644
--- a/svx/source/inc/sqlparserclient.hxx
+++ b/svx/source/inc/sqlparserclient.hxx
@@ -50,7 +50,7 @@ namespace svxform
OSQLParserClient(
const css::uno::Reference< css::uno::XComponentContext >& rxContext);
- std::shared_ptr< ::connectivity::OSQLParseNode > predicateTree(
+ std::unique_ptr< ::connectivity::OSQLParseNode > predicateTree(
OUString& _rErrorMessage,
const OUString& _rStatement,
const css::uno::Reference< css::util::XNumberFormatter >& _rxFormatter,