summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/SqlNameEdit.hxx
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/ui/inc/SqlNameEdit.hxx
parent6907b67d3d3208eb54289db2476132188d86dfec (diff)
dbaccess: sal_Bool->bool
Change-Id: Ieb52470f9638b74898954db3890aaf2cf202290a
Diffstat (limited to 'dbaccess/source/ui/inc/SqlNameEdit.hxx')
-rw-r--r--dbaccess/source/ui/inc/SqlNameEdit.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/dbaccess/source/ui/inc/SqlNameEdit.hxx b/dbaccess/source/ui/inc/SqlNameEdit.hxx
index 1fab3a65004d..8430dc4d4f38 100644
--- a/dbaccess/source/ui/inc/SqlNameEdit.hxx
+++ b/dbaccess/source/ui/inc/SqlNameEdit.hxx
@@ -27,17 +27,17 @@ namespace dbaui
class OSQLNameChecker
{
OUString m_sAllowedChars;
- sal_Bool m_bOnlyUpperCase;
- sal_Bool m_bCheck; // true when we should check for invalid chars
+ bool m_bOnlyUpperCase;
+ bool m_bCheck; // true when we should check for invalid chars
public:
OSQLNameChecker(const OUString& _rAllowedChars)
:m_sAllowedChars(_rAllowedChars)
- ,m_bOnlyUpperCase(sal_False)
- ,m_bCheck(sal_True)
+ ,m_bOnlyUpperCase(false)
+ ,m_bCheck(true)
{
}
- void setUpperCase(sal_Bool _bUpper=sal_True)
+ void setUpperCase(bool _bUpper=true)
{
m_bOnlyUpperCase = _bUpper;
}
@@ -46,11 +46,11 @@ namespace dbaui
m_sAllowedChars = _rAllowedChars;
}
// default is false because it is initialized with true
- void setCheck(sal_Bool _bCheck = sal_False)
+ void setCheck(bool _bCheck = false)
{
m_bCheck = _bCheck;
}
- sal_Bool checkString(const OUString& _sToCheck,OUString& _rsCorrected);
+ bool checkString(const OUString& _sToCheck,OUString& _rsCorrected);
};
class OSQLNameEdit : public Edit
,public OSQLNameChecker