diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-29 11:00:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-29 11:08:32 +0100 |
commit | 8a8ea11e5ea386af8b91b2ff36e5906afc571c2b (patch) | |
tree | 748510cf980d2d46bedd9967b1771d037d4a6eee /connectivity/source/inc | |
parent | 8c32cf4b2cd530764a3c4998c691b0b69210e1f4 (diff) |
bool improvements
Change-Id: I4e428e5d7093dbc8a1e7fd47ec49998ce143e5ac
Diffstat (limited to 'connectivity/source/inc')
-rw-r--r-- | connectivity/source/inc/odbc/OResultSet.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/inc/odbc/OResultSet.hxx b/connectivity/source/inc/odbc/OResultSet.hxx index 35959a52795a..84be364ac636 100644 --- a/connectivity/source/inc/odbc/OResultSet.hxx +++ b/connectivity/source/inc/odbc/OResultSet.hxx @@ -84,14 +84,14 @@ namespace connectivity for(i=0;i < nCount;++i,--pLHBack,--pRHBack) { if(!(*pLHBack) && *pRHBack) - return sal_True; + return true; else if(*pLHBack && !(*pRHBack)) - return sal_False; + return false; } for(i=0,++pLHBack,++pRHBack;i < nCount;++pLHBack,++pRHBack,++i) if(*pLHBack < *pRHBack) - return sal_True; - return sal_False; + return true; + return false; } else return *reinterpret_cast<const sal_Int32*>(_rLH.getConstArray()) < *reinterpret_cast<const sal_Int32*>(_rRH.getConstArray()); |