diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-31 16:58:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-01 07:38:09 +0200 |
commit | 73c1ac010c544e836cfff4c53542a2bb37630c9f (patch) | |
tree | 48e61eb7f65bed7f6fde5cfceae239770138859d /include/connectivity | |
parent | 3194d22a24f102d2a8a617f88b162545a0395447 (diff) |
connectivity: sal_Bool->bool
Change-Id: Ia45f9776e0b27720647c664541a41b5f46eedc37
Diffstat (limited to 'include/connectivity')
-rw-r--r-- | include/connectivity/filtermanager.hxx | 6 | ||||
-rw-r--r-- | include/connectivity/predicateinput.hxx | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/connectivity/filtermanager.hxx b/include/connectivity/filtermanager.hxx index 2753d950eb1f..11101c347d2e 100644 --- a/include/connectivity/filtermanager.hxx +++ b/include/connectivity/filtermanager.hxx @@ -72,7 +72,7 @@ namespace dbtools ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_xComponentAggregate; ::std::vector< OUString > m_aFilterComponents; - sal_Bool m_bApplyPublicFilter; + bool m_bApplyPublicFilter; public: /// ctor @@ -87,8 +87,8 @@ namespace dbtools const OUString& getFilterComponent( FilterComponent _eWhich ) const; void setFilterComponent( FilterComponent _eWhich, const OUString& _rComponent ); - inline sal_Bool isApplyPublicFilter( ) const { return m_bApplyPublicFilter; } - void setApplyPublicFilter( sal_Bool _bApply ); + inline bool isApplyPublicFilter( ) const { return m_bApplyPublicFilter; } + void setApplyPublicFilter( bool _bApply ); private: /** retrieves a filter which is a conjunction of all single filter components diff --git a/include/connectivity/predicateinput.hxx b/include/connectivity/predicateinput.hxx index 6c0829915794..45b20987a1f8 100644 --- a/include/connectivity/predicateinput.hxx +++ b/include/connectivity/predicateinput.hxx @@ -68,7 +68,7 @@ namespace dbtools If not <NULL/>, and a parsing error occurs, the error message will be copied to the string the argument points to. */ - sal_Bool normalizePredicateString( + bool normalizePredicateString( OUString& _rPredicateValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxField, OUString* _pErrorMessage = NULL @@ -90,14 +90,14 @@ namespace dbtools OUString getPredicateValue( const OUString& _rPredicateValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & _rxField, - sal_Bool _bForStatementUse, + bool _bForStatementUse, OUString* _pErrorMessage = NULL ) const; OUString getPredicateValue( const OUString& _sField , const OUString& _rPredicateValue - , sal_Bool _bForStatementUse + , bool _bForStatementUse , OUString* _pErrorMessage = NULL) const; private: @@ -107,13 +107,13 @@ namespace dbtools const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & _rxField ) const; - sal_Bool getSeparatorChars( + bool getSeparatorChars( const ::com::sun::star::lang::Locale& _rLocale, sal_Unicode& _rDecSep, sal_Unicode& _rThdSep ) const; - OUString implParseNode(::connectivity::OSQLParseNode* pParseNode,sal_Bool _bForStatementUse) const; + OUString implParseNode(::connectivity::OSQLParseNode* pParseNode, bool _bForStatementUse) const; }; |