summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@libreoffice.org>2021-01-31 17:36:55 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-01 17:47:39 +0100
commit0cf73245e22905114b500f1a2473ae64f3bfef85 (patch)
treef590680631e4e6f44e73a73942a7c0766662a238 /extensions
parent5f146b91b81eb67d43425ed0b744b267040da987 (diff)
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.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/abpilot/datasourcehandling.cxx8
-rw-r--r--extensions/source/abpilot/datasourcehandling.hxx2
2 files changed, 2 insertions, 8 deletions
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
);
};