summaryrefslogtreecommitdiff
path: root/connectivity/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-13 16:45:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-14 09:03:30 +0200
commit27ae032f793ecae63ff231339cb18c4b2ec64206 (patch)
treec0e3f19fb4995110bb98599cb2f5918ecb566d91 /connectivity/source/inc
parent9c8aa11ee7ddbae34afcce2cbfc4d521122a527b (diff)
connectivity/dbtools: create instances with uno constructors
See tdf#74608 for motivation. Change-Id: I281475b9fe5eff0d462f575e8434b9511b292e85 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98688 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/inc')
-rw-r--r--connectivity/source/inc/FDatabaseMetaDataResultSet.hxx5
-rw-r--r--connectivity/source/inc/ParameterSubstitution.hxx8
2 files changed, 1 insertions, 12 deletions
diff --git a/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx b/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx
index d5d9fc8ce9df..de20771f9787 100644
--- a/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx
+++ b/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx
@@ -150,11 +150,6 @@ namespace connectivity
// XServiceInfo
- /// @throws css::uno::RuntimeException
- static OUString getImplementationName_Static( );
- /// @throws css::uno::RuntimeException
- static css::uno::Sequence< OUString > getSupportedServiceNames_Static( );
-
protected:
virtual OUString SAL_CALL getImplementationName( ) override;
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
diff --git a/connectivity/source/inc/ParameterSubstitution.hxx b/connectivity/source/inc/ParameterSubstitution.hxx
index 59d9b1a91ece..e0a540332ff3 100644
--- a/connectivity/source/inc/ParameterSubstitution.hxx
+++ b/connectivity/source/inc/ParameterSubstitution.hxx
@@ -42,14 +42,8 @@ namespace connectivity
ParameterSubstitution( const ParameterSubstitution& ) = delete;
ParameterSubstitution& operator=( const ParameterSubstitution& ) = delete;
public:
- /// @throws css::uno::RuntimeException
- static OUString getImplementationName_Static( );
- /// @throws css::uno::RuntimeException
- static css::uno::Sequence< OUString > getSupportedServiceNames_Static( );
- static css::uno::Reference< css::uno::XInterface > create( const css::uno::Reference< css::uno::XComponentContext > & xContext);
- private:
ParameterSubstitution(const css::uno::Reference< css::uno::XComponentContext >& _rxContext );
- virtual ~ParameterSubstitution() override {}
+ private:
// XServiceInfo
virtual OUString SAL_CALL getImplementationName( ) override;