summaryrefslogtreecommitdiff
path: root/connectivity/source/simpledbt
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-16 09:14:24 +0200
committerNoel Grandin <noel@peralex.com>2014-04-16 11:51:51 +0200
commit199d333f131474729a105afa5a3da61205f61df2 (patch)
tree01c0270df697b8857af0ad52fd8bd4502ccf86a0 /connectivity/source/simpledbt
parent2f316b07a502b527876462d524061dbf6c9a04d5 (diff)
connectivity: sal_Bool->bool
Change-Id: I96371121ce6697f153f4e973e65831ea2265eb56
Diffstat (limited to 'connectivity/source/simpledbt')
-rw-r--r--connectivity/source/simpledbt/parsenode_s.cxx2
-rw-r--r--connectivity/source/simpledbt/parsenode_s.hxx4
-rw-r--r--connectivity/source/simpledbt/parser_s.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/simpledbt/parsenode_s.cxx b/connectivity/source/simpledbt/parsenode_s.cxx
index b32d8a73c55a..fc30c5fcf147 100644
--- a/connectivity/source/simpledbt/parsenode_s.cxx
+++ b/connectivity/source/simpledbt/parsenode_s.cxx
@@ -36,7 +36,7 @@ namespace connectivity
//= OSimpleParseNode
- OSimpleParseNode::OSimpleParseNode(const OSQLParseNode* _pNode, sal_Bool _bTakeOwnership)
+ OSimpleParseNode::OSimpleParseNode(const OSQLParseNode* _pNode, bool _bTakeOwnership)
:m_pFullNode(_pNode)
,m_bOwner(_bTakeOwnership)
{
diff --git a/connectivity/source/simpledbt/parsenode_s.hxx b/connectivity/source/simpledbt/parsenode_s.hxx
index 202a1cef9277..7e9fcbb42e83 100644
--- a/connectivity/source/simpledbt/parsenode_s.hxx
+++ b/connectivity/source/simpledbt/parsenode_s.hxx
@@ -38,10 +38,10 @@ namespace connectivity
{
protected:
const OSQLParseNode* m_pFullNode;
- sal_Bool m_bOwner;
+ bool m_bOwner;
public:
- OSimpleParseNode(const OSQLParseNode* _pNode, sal_Bool _bTakeOwnership = sal_True);
+ OSimpleParseNode(const OSQLParseNode* _pNode, bool _bTakeOwnership = true);
virtual ~OSimpleParseNode();
// ISQLParseNode
diff --git a/connectivity/source/simpledbt/parser_s.cxx b/connectivity/source/simpledbt/parser_s.cxx
index 629bf65d78b7..e514abbcf485 100644
--- a/connectivity/source/simpledbt/parser_s.cxx
+++ b/connectivity/source/simpledbt/parser_s.cxx
@@ -65,7 +65,7 @@ namespace connectivity
OSimpleParseNode* pReturn = NULL;
OSQLParseNode* pFullNode = const_cast<OSimpleSQLParser*>(this)->m_aFullParser.predicateTree(rErrorMessage, rStatement, _rxFormatter, _rxField);
if (pFullNode)
- pReturn = new OSimpleParseNode(pFullNode, sal_True);
+ pReturn = new OSimpleParseNode(pFullNode, true);
return pReturn;
}