summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/CommonTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools/CommonTools.cxx')
-rw-r--r--connectivity/source/commontools/CommonTools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/CommonTools.cxx b/connectivity/source/commontools/CommonTools.cxx
index da7d7226b389..f571e8e39db6 100644
--- a/connectivity/source/commontools/CommonTools.cxx
+++ b/connectivity/source/commontools/CommonTools.cxx
@@ -180,7 +180,7 @@ namespace connectivity
namespace dbtools
{
-sal_Bool isCharOk(sal_Unicode c,const OUString& _rSpecials)
+bool isCharOk(sal_Unicode c,const OUString& _rSpecials)
{
return ( ((c >= 97) && (c <= 122)) || ((c >= 65) && (c <= 90)) || ((c >= 48) && (c <= 57)) ||
@@ -224,7 +224,7 @@ OUString convertName2SQLName(const OUString& rName,const OUString& _rSpecials)
OUString aNewName(rName);
const sal_Unicode* pStr = rName.getStr();
sal_Int32 nLength = rName.getLength();
- sal_Bool bValid(*pStr < 128 && !isdigit(*pStr));
+ bool bValid(*pStr < 128 && !isdigit(*pStr));
for (sal_Int32 i=0; bValid && i < nLength; ++pStr,++i )
if(!isCharOk(*pStr,_rSpecials))
{