diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-16 09:14:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-16 11:51:51 +0200 |
commit | 199d333f131474729a105afa5a3da61205f61df2 (patch) | |
tree | 01c0270df697b8857af0ad52fd8bd4502ccf86a0 /connectivity/source/inc/java/sql | |
parent | 2f316b07a502b527876462d524061dbf6c9a04d5 (diff) |
connectivity: sal_Bool->bool
Change-Id: I96371121ce6697f153f4e973e65831ea2265eb56
Diffstat (limited to 'connectivity/source/inc/java/sql')
4 files changed, 23 insertions, 23 deletions
diff --git a/connectivity/source/inc/java/sql/Connection.hxx b/connectivity/source/inc/java/sql/Connection.hxx index dec1231f00fd..a99eb4d56676 100644 --- a/connectivity/source/inc/java/sql/Connection.hxx +++ b/connectivity/source/inc/java/sql/Connection.hxx @@ -52,9 +52,9 @@ namespace connectivity jclass m_Driver_theClass; java::sql::ConnectionLog m_aLogger; - sal_Bool m_bParameterSubstitution; - sal_Bool m_bIgnoreDriverPrivileges; - sal_Bool m_bIgnoreCurrency; + bool m_bParameterSubstitution; + bool m_bIgnoreDriverPrivileges; + bool m_bIgnoreCurrency; ::com::sun::star::uno::Any m_aCatalogRestriction; ::com::sun::star::uno::Any m_aSchemaRestriction; @@ -88,14 +88,14 @@ namespace connectivity DECLARE_SERVICE_INFO(); // A ctor that is needed for returning the object java_sql_Connection( const java_sql_Driver& _rDriver ); - sal_Bool construct( const OUString& url, + bool construct( const OUString& url, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info); const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& getConnectionInfo() const { return m_aConnectionInfo; } - inline sal_Bool isIgnoreDriverPrivilegesEnabled() const { return m_bIgnoreDriverPrivileges;} - inline sal_Bool isIgnoreCurrencyEnabled() const { return m_bIgnoreCurrency; } + inline bool isIgnoreDriverPrivilegesEnabled() const { return m_bIgnoreDriverPrivileges;} + inline bool isIgnoreCurrencyEnabled() const { return m_bIgnoreCurrency; } inline const ::com::sun::star::uno::Any& getCatalogRestriction() const { return m_aCatalogRestriction; } inline const ::com::sun::star::uno::Any& getSchemaRestriction() const { return m_aSchemaRestriction; } diff --git a/connectivity/source/inc/java/sql/DatabaseMetaData.hxx b/connectivity/source/inc/java/sql/DatabaseMetaData.hxx index f9c338971adb..7753fda1dca4 100644 --- a/connectivity/source/inc/java/sql/DatabaseMetaData.hxx +++ b/connectivity/source/inc/java/sql/DatabaseMetaData.hxx @@ -50,19 +50,19 @@ namespace connectivity virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > impl_getTypeInfo_throw() SAL_OVERRIDE; // cached database information - virtual OUString impl_getIdentifierQuoteString_throw( ) SAL_OVERRIDE; - virtual sal_Bool impl_isCatalogAtStart_throw( ) SAL_OVERRIDE; - virtual OUString impl_getCatalogSeparator_throw( ) SAL_OVERRIDE; - virtual sal_Bool impl_supportsCatalogsInTableDefinitions_throw( ) SAL_OVERRIDE; - virtual sal_Bool impl_supportsSchemasInTableDefinitions_throw( ) SAL_OVERRIDE ; - virtual sal_Bool impl_supportsCatalogsInDataManipulation_throw( ) SAL_OVERRIDE; - virtual sal_Bool impl_supportsSchemasInDataManipulation_throw( ) SAL_OVERRIDE ; - virtual sal_Bool impl_supportsMixedCaseQuotedIdentifiers_throw( ) SAL_OVERRIDE; - virtual sal_Bool impl_supportsAlterTableWithAddColumn_throw( ) SAL_OVERRIDE; - virtual sal_Bool impl_supportsAlterTableWithDropColumn_throw( ) SAL_OVERRIDE; - virtual sal_Int32 impl_getMaxStatements_throw( ) SAL_OVERRIDE; - virtual sal_Int32 impl_getMaxTablesInSelect_throw( ) SAL_OVERRIDE; - virtual sal_Bool impl_storesMixedCaseQuotedIdentifiers_throw( ) SAL_OVERRIDE; + virtual OUString impl_getIdentifierQuoteString_throw( ) SAL_OVERRIDE; + virtual bool impl_isCatalogAtStart_throw( ) SAL_OVERRIDE; + virtual OUString impl_getCatalogSeparator_throw( ) SAL_OVERRIDE; + virtual bool impl_supportsCatalogsInTableDefinitions_throw( ) SAL_OVERRIDE; + virtual bool impl_supportsSchemasInTableDefinitions_throw( ) SAL_OVERRIDE ; + virtual bool impl_supportsCatalogsInDataManipulation_throw( ) SAL_OVERRIDE; + virtual bool impl_supportsSchemasInDataManipulation_throw( ) SAL_OVERRIDE ; + virtual bool impl_supportsMixedCaseQuotedIdentifiers_throw( ) SAL_OVERRIDE; + virtual bool impl_supportsAlterTableWithAddColumn_throw( ) SAL_OVERRIDE; + virtual bool impl_supportsAlterTableWithDropColumn_throw( ) SAL_OVERRIDE; + virtual sal_Int32 impl_getMaxStatements_throw( ) SAL_OVERRIDE; + virtual sal_Int32 impl_getMaxTablesInSelect_throw( ) SAL_OVERRIDE; + virtual bool impl_storesMixedCaseQuotedIdentifiers_throw( ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL allProceduresAreCallable( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL allTablesAreSelectable( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -200,10 +200,10 @@ namespace connectivity virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getUDTs( const ::com::sun::star::uno::Any& catalog, const OUString& schemaPattern, const OUString& typeNamePattern, const ::com::sun::star::uno::Sequence< sal_Int32 >& types ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: - sal_Bool impl_callBooleanMethod( const char* _pMethodName, jmethodID& _inout_MethodID ); + bool impl_callBooleanMethod( const char* _pMethodName, jmethodID& _inout_MethodID ); OUString impl_callStringMethod( const char* _pMethodName, jmethodID& _inout_MethodID ); sal_Int32 impl_callIntMethod( const char* _pMethodName, jmethodID& _inout_MethodID ); - sal_Bool impl_callBooleanMethodWithIntArg( const char* _pMethodName, jmethodID& _inout_MethodID, sal_Int32 _nArgument ); + bool impl_callBooleanMethodWithIntArg( const char* _pMethodName, jmethodID& _inout_MethodID, sal_Int32 _nArgument ); ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > impl_callResultSetMethod( const char* _pMethodName, jmethodID& _inout_MethodID ); ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > diff --git a/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx b/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx index 5dbde09a91cd..49bf97de6d9a 100644 --- a/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx +++ b/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx @@ -44,7 +44,7 @@ namespace connectivity OUString name(); OUString description(); OUString value(); - sal_Bool required(); + bool required(); ::com::sun::star::uno::Sequence< OUString> choices(); }; } diff --git a/connectivity/source/inc/java/sql/JStatement.hxx b/connectivity/source/inc/java/sql/JStatement.hxx index 7696cf7a3b88..3c025d0051e2 100644 --- a/connectivity/source/inc/java/sql/JStatement.hxx +++ b/connectivity/source/inc/java/sql/JStatement.hxx @@ -87,7 +87,7 @@ namespace connectivity // Properties sal_Int32 m_nResultSetConcurrency; sal_Int32 m_nResultSetType; - sal_Bool m_bEscapeProcessing; + bool m_bEscapeProcessing; ::cppu::OBroadcastHelper& rBHelper; |