diff options
Diffstat (limited to 'mysqlc/source/mysqlc_connection.hxx')
-rw-r--r-- | mysqlc/source/mysqlc_connection.hxx | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/mysqlc/source/mysqlc_connection.hxx b/mysqlc/source/mysqlc_connection.hxx index 5a20051984c3..8d4c0b625655 100644 --- a/mysqlc/source/mysqlc_connection.hxx +++ b/mysqlc/source/mysqlc_connection.hxx @@ -74,9 +74,9 @@ namespace connectivity { rtl_TextEncoding encoding; std::unique_ptr<sql::Connection> cppConnection; - OUString schema; - OUString quoteIdentifier; - OUString connectionURL; + rtl::OUString schema; + rtl::OUString quoteIdentifier; + rtl::OUString connectionURL; bool readOnly; }; @@ -110,8 +110,8 @@ namespace connectivity // for this Connection SQLWarning m_aLastWarning; // Last SQLWarning generated by an operation - OUString m_aURL; // URL of connection - OUString m_sUser; // the user name + rtl::OUString m_aURL; // URL of connection + rtl::OUString m_sUser; // the user name MysqlCDriver& m_rDriver; // Pointer to the owning driver object sql::Driver* cppDriver; @@ -122,13 +122,13 @@ namespace connectivity void buildTypeInfo() throw(SQLException); public: - OUString getMysqlVariable(const char *varname) + rtl::OUString getMysqlVariable(const char *varname) throw(SQLException, RuntimeException); sal_Int32 getMysqlVersion() throw(SQLException, RuntimeException); - virtual void construct(const OUString& url,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info) + virtual void construct(const rtl::OUString& url,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info) throw(SQLException); OConnection(MysqlCDriver& _rDriver, sql::Driver * cppDriver); @@ -147,14 +147,14 @@ namespace connectivity virtual void SAL_CALL release() throw() SAL_OVERRIDE; // XServiceInfo - virtual OUString SAL_CALL getImplementationName() + virtual rtl::OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService( - OUString const & ServiceName) throw (css::uno::RuntimeException, std::exception) + rtl::OUString const & ServiceName) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual css::uno::Sequence<OUString> SAL_CALL + virtual css::uno::Sequence<rtl::OUString> SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -162,13 +162,13 @@ namespace connectivity my_XStatementRef SAL_CALL createStatement() throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - my_XPreparedStatementRef SAL_CALL prepareStatement(const OUString& sql) + my_XPreparedStatementRef SAL_CALL prepareStatement(const rtl::OUString& sql) throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - my_XPreparedStatementRef SAL_CALL prepareCall(const OUString& sql) + my_XPreparedStatementRef SAL_CALL prepareCall(const rtl::OUString& sql) throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - OUString SAL_CALL nativeSQL(const OUString& sql) + rtl::OUString SAL_CALL nativeSQL(const rtl::OUString& sql) throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; void SAL_CALL setAutoCommit(sal_Bool autoCommit) @@ -195,10 +195,10 @@ namespace connectivity sal_Bool SAL_CALL isReadOnly() throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - void SAL_CALL setCatalog(const OUString& catalog) + void SAL_CALL setCatalog(const rtl::OUString& catalog) throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - OUString SAL_CALL getCatalog() + rtl::OUString SAL_CALL getCatalog() throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; void SAL_CALL setTransactionIsolation(sal_Int32 level) @@ -222,19 +222,19 @@ namespace connectivity throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; // TODO: Not used - //sal_Int32 sdbcColumnType(OUString typeName); + //sal_Int32 sdbcColumnType(rtl::OUString typeName); inline const ConnectionSettings& getConnectionSettings() const { return m_settings; } - OUString transFormPreparedStatement(const OUString& _sSQL); + rtl::OUString transFormPreparedStatement(const rtl::OUString& _sSQL); // should we use the catalog on filebased databases inline bool isCatalogUsed() const { return m_bUseCatalog; } - inline OUString getUserName() const { return m_sUser; } + inline rtl::OUString getUserName() const { return m_sUser; } inline const MysqlCDriver& getDriver() const { return m_rDriver;} inline rtl_TextEncoding getTextEncoding() const { return m_settings.encoding; } }; /* OConnection */ // TODO: Not used. - //inline OUString getPattern(OUString p) { return (p.getLength()) ? p : ASC2OU("%"); } + //inline rtl::OUString getPattern(rtl::OUString p) { return (p.getLength()) ? p : ASC2OU("%"); } } /* mysqlc */ } /* connectivity */ #endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_CONNECTION_HXX |