extensions/source/abpilot/datasourcehandling.cxx | 8 ++------ extensions/source/abpilot/datasourcehandling.hxx | 2 -- 2 files changed, 2 insertions(+), 8 deletions(-)
New commits: commit 0cf73245e22905114b500f1a2473ae64f3bfef85 Author: Arnaud Versini <arnaud.vers...@libreoffice.org> AuthorDate: Sun Jan 31 17:36:55 2021 +0100 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Mon Feb 1 17:47:39 2021 +0100 abpilot : remove useless type PackageAccessControl Change-Id: Ie55d422a37de7477a7674544e5e2fc1c938a7b3b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110206 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx index ceb5e90f2515..806acca41f16 100644 --- a/extensions/source/abpilot/datasourcehandling.cxx +++ b/extensions/source/abpilot/datasourcehandling.cxx @@ -87,10 +87,6 @@ namespace abp using namespace ::com::sun::star::container; using namespace ::com::sun::star::frame; - - struct PackageAccessControl { }; - - static Reference< XDatabaseContext > lcl_getDataSourceContext( const Reference< XComponentContext >& _rxContext ) { Reference<XDatabaseContext> xContext = DatabaseContext::create(_rxContext); @@ -149,7 +145,7 @@ namespace abp ); } - aReturn.setDataSource( xNewDataSource, _rName,PackageAccessControl() ); + aReturn.setDataSource( xNewDataSource, _rName ); } catch(const Exception&) { @@ -405,7 +401,7 @@ namespace abp } - void ODataSource::setDataSource( const Reference< XPropertySet >& _rxDS,const OUString& _sName, PackageAccessControl ) + void ODataSource::setDataSource( const Reference< XPropertySet >& _rxDS,const OUString& _sName ) { if (m_pImpl->xDataSource.get() == _rxDS.get()) // nothing to do diff --git a/extensions/source/abpilot/datasourcehandling.hxx b/extensions/source/abpilot/datasourcehandling.hxx index 4f8a0cbc28d7..485c3c15bd90 100644 --- a/extensions/source/abpilot/datasourcehandling.hxx +++ b/extensions/source/abpilot/datasourcehandling.hxx @@ -81,7 +81,6 @@ namespace abp }; struct ODataSourceImpl; - struct PackageAccessControl; struct AddressSettings; /** a non-UNO wrapper for a data source <p>This class allows to access data sources without the need to compile the respective file with @@ -174,7 +173,6 @@ namespace abp void setDataSource( const css::uno::Reference< css::beans::XPropertySet >& _rxDS ,const OUString& _sName - ,PackageAccessControl ); }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits