diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-21 12:42:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-21 14:17:56 +0200 |
commit | 2f3ea8dfbc7dedc785cd07ad0b681a0da3904a80 (patch) | |
tree | 533c450fb3e8e5b75d5ccdc9dc6c358da481513f /mysqlc/source/mysqlc_connection.hxx | |
parent | 54409159b8a12ca3d387e2ff2a2e1ff9dad1a2a3 (diff) |
refactor out some com::sun::star typedefs
which mostly serve to make the code harder to read
Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
Diffstat (limited to 'mysqlc/source/mysqlc_connection.hxx')
-rw-r--r-- | mysqlc/source/mysqlc_connection.hxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/mysqlc/source/mysqlc_connection.hxx b/mysqlc/source/mysqlc_connection.hxx index 511e9013056f..b9dc1321a0dc 100644 --- a/mysqlc/source/mysqlc_connection.hxx +++ b/mysqlc/source/mysqlc_connection.hxx @@ -59,10 +59,7 @@ namespace connectivity using ::com::sun::star::sdbc::SQLWarning; using ::com::sun::star::sdbc::SQLException; using ::com::sun::star::uno::RuntimeException; - typedef ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XStatement > my_XStatementRef; - typedef ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > my_XPreparedStatementRef; typedef ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > my_XNameAccessRef; - typedef ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > my_XDatabaseMetaDataRef; typedef ::cppu::WeakComponentImplHelper3< ::com::sun::star::sdbc::XConnection, ::com::sun::star::sdbc::XWarningsSupplier, @@ -152,13 +149,13 @@ namespace connectivity SAL_OVERRIDE; // XConnection - my_XStatementRef SAL_CALL createStatement() + css::uno::Reference< css::sdbc::XStatement > SAL_CALL createStatement() throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - my_XPreparedStatementRef SAL_CALL prepareStatement(const rtl::OUString& sql) + css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareStatement(const rtl::OUString& sql) throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - my_XPreparedStatementRef SAL_CALL prepareCall(const rtl::OUString& sql) + css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareCall(const rtl::OUString& sql) throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; rtl::OUString SAL_CALL nativeSQL(const rtl::OUString& sql) @@ -179,7 +176,7 @@ namespace connectivity sal_Bool SAL_CALL isClosed() throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - my_XDatabaseMetaDataRef SAL_CALL getMetaData() + css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL getMetaData() throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; void SAL_CALL setReadOnly(sal_Bool readOnly) |