From 8a8ea11e5ea386af8b91b2ff36e5906afc571c2b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 29 Jan 2014 11:00:45 +0100 Subject: bool improvements Change-Id: I4e428e5d7093dbc8a1e7fd47ec49998ce143e5ac --- connectivity/source/inc/odbc/OResultSet.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'connectivity/source/inc') 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(_rLH.getConstArray()) < *reinterpret_cast(_rRH.getConstArray()); -- cgit