diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:06:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:25:34 +0200 |
commit | fde48126df56ede640499f24ac67f6754b84efbf (patch) | |
tree | 0829c1b667c6483d582fd17ac9d98f87d79e1dee /dbaccess/source/ui | |
parent | 80018b600602097aa207b2942caa6910b599c8c8 (diff) |
Replace map to sal_Bool with map to bool
(Though this looks like it wants to use a set instead of a map, anyway.)
Change-Id: I63907d2fa3bc3a50ff1ea2a44b39b0859eb56d94
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryDesignView.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index 6d303db5b019..3c2123a58b56 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -461,7 +461,7 @@ namespace } return BuildJoin(_xConnection, rRh, BuildTable(_xConnection,pLh), &data); } - typedef ::std::map< OUString,sal_Bool,::comphelper::UStringMixLess> tableNames_t; + typedef ::std::map< OUString,bool,::comphelper::UStringMixLess> tableNames_t; void addConnectionTableNames( const Reference< XConnection>& _xConnection, const OQueryTableConnection* const pEntryConn, tableNames_t &_rTableNames ) @@ -472,10 +472,10 @@ namespace OUString sTabName(BuildTable(_xConnection,pEntryTabFrom)); if(_rTableNames.find(sTabName) == _rTableNames.end()) - _rTableNames[sTabName] = sal_True; + _rTableNames[sTabName] = true; sTabName = BuildTable(_xConnection,pEntryTabTo); if(_rTableNames.find(sTabName) == _rTableNames.end()) - _rTableNames[sTabName] = sal_True; + _rTableNames[sTabName] = true; } void GetNextJoin( const Reference< XConnection>& _xConnection, OQueryTableConnection* pEntryConn, @@ -1006,7 +1006,7 @@ namespace if(_rTableNames.find(sTabName) == _rTableNames.end()) { - _rTableNames[sTabName] = sal_True; + _rTableNames[sTabName] = true; _rsTableListStr += sTabName; _rsTableListStr += ","; } |