summaryrefslogtreecommitdiff
path: root/dbaccess/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-17 11:16:55 +0200
committerNoel Grandin <noel@peralex.com>2014-04-17 11:17:21 +0200
commitfee4efcb54c8162955f6fe626d9b68c3b74b3068 (patch)
treedf8989eab6d8aacb5f37f0673a1a14eb5584a394 /dbaccess/source/inc
parent6907b67d3d3208eb54289db2476132188d86dfec (diff)
dbaccess: sal_Bool->bool
Change-Id: Ieb52470f9638b74898954db3890aaf2cf202290a
Diffstat (limited to 'dbaccess/source/inc')
-rw-r--r--dbaccess/source/inc/OAuthenticationContinuation.hxx8
-rw-r--r--dbaccess/source/inc/dsntypes.hxx10
2 files changed, 9 insertions, 9 deletions
diff --git a/dbaccess/source/inc/OAuthenticationContinuation.hxx b/dbaccess/source/inc/OAuthenticationContinuation.hxx
index a371a50b221e..12c5d061387c 100644
--- a/dbaccess/source/inc/OAuthenticationContinuation.hxx
+++ b/dbaccess/source/inc/OAuthenticationContinuation.hxx
@@ -35,9 +35,9 @@ namespace dbaccess
class OOO_DLLPUBLIC_DBA OAuthenticationContinuation :
public comphelper::OInteraction< com::sun::star::ucb::XInteractionSupplyAuthentication >
{
- sal_Bool m_bRemberPassword : 1; // remember the password for this session ?
+ bool m_bRemberPassword : 1; // remember the password for this session ?
- sal_Bool m_bCanSetUserName;
+ bool m_bCanSetUserName;
OUString m_sUser; // the user
OUString m_sPassword; // the user's password
@@ -57,10 +57,10 @@ public:
com::sun::star::uno::Sequence< com::sun::star::ucb::RememberAuthentication > SAL_CALL getRememberAccountModes( com::sun::star::ucb::RememberAuthentication& Default ) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
void SAL_CALL setRememberAccount( com::sun::star::ucb::RememberAuthentication Remember ) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- void setCanChangeUserName( sal_Bool bVal ) { m_bCanSetUserName = bVal; }
+ void setCanChangeUserName( bool bVal ) { m_bCanSetUserName = bVal; }
OUString getUser() const { return m_sUser; }
OUString getPassword() const { return m_sPassword; }
- sal_Bool getRememberPassword() const { return m_bRemberPassword; }
+ bool getRememberPassword() const { return m_bRemberPassword; }
};
} // namespace dbaccess
diff --git a/dbaccess/source/inc/dsntypes.hxx b/dbaccess/source/inc/dsntypes.hxx
index 706fa32c95ce..d1fd9aa707ef 100644
--- a/dbaccess/source/inc/dsntypes.hxx
+++ b/dbaccess/source/inc/dsntypes.hxx
@@ -142,19 +142,19 @@ public:
void extractHostNamePort(const OUString& _rDsn,OUString& _sDatabaseName,OUString& _rHostname,sal_Int32& _nPortNumber) const;
/// check if the given data source allows creation of tables
- sal_Bool supportsTableCreation(const OUString& _sURL) const;
+ bool supportsTableCreation(const OUString& _sURL) const;
/// check if the given data source allows to show column description.
- sal_Bool supportsColumnDescription(const OUString& _sURL) const;
+ bool supportsColumnDescription(const OUString& _sURL) const;
// check if a Browse button may be shown to insert connection url
- sal_Bool supportsBrowsing(const OUString& _sURL) const;
+ bool supportsBrowsing(const OUString& _sURL) const;
// check if a Create New Database button may be shown to insert connection url
- sal_Bool supportsDBCreation(const OUString& _sURL) const;
+ bool supportsDBCreation(const OUString& _sURL) const;
/// check if the given data source tyoe is based on the file system - i.e. the URL is a prefix plus a file URL
- sal_Bool isFileSystemBased(const OUString& _sURL) const;
+ bool isFileSystemBased(const OUString& _sURL) const;
bool isConnectionUrlRequired(const OUString& _sURL) const;