From 497e40ad03c27837978551ba15491c3fb2a0bf53 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 29 Jun 2017 08:15:20 +0200 Subject: improve refcounting loplugin to find ref-counted classes being managed via other smart pointer classes. Hopefully prevent needing fixes like 642ae256ea5b8083ba0b3c097ca8ea52304b9cdb "ChangedUIEventListener is refcounted, mustn't be helt by unique_ptr" Change-Id: I6b0c5f8f87ce3546a8a1104ce1000470c09459bd Reviewed-on: https://gerrit.libreoffice.org/39378 Tested-by: Jenkins Reviewed-by: Noel Grandin --- dbaccess/source/core/inc/TableDeco.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess/source/core/inc') diff --git a/dbaccess/source/core/inc/TableDeco.hxx b/dbaccess/source/core/inc/TableDeco.hxx index 79f28a014cfa..7958b7a23c07 100644 --- a/dbaccess/source/core/inc/TableDeco.hxx +++ b/dbaccess/source/core/inc/TableDeco.hxx @@ -74,7 +74,7 @@ namespace dbaccess // mutable sal_Int32 m_nPrivileges; // - std::unique_ptr<::connectivity::sdbcx::OCollection> m_pColumns; + rtl::Reference<::connectivity::sdbcx::OCollection> m_pColumns; // IColumnFactory virtual OColumn* createColumn(const OUString& _rName) const override; -- cgit v1.2.3