From 05f742d28b3786f44781af5b069c05c16b84decd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 16 Feb 2014 22:51:15 +0100 Subject: comphelper: sal_Bool -> bool Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0 --- connectivity/source/commontools/ConnectionWrapper.cxx | 2 +- connectivity/source/drivers/dbase/DTable.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/commontools/ConnectionWrapper.cxx b/connectivity/source/commontools/ConnectionWrapper.cxx index 3fc14b8220e7..19b38fa308b2 100644 --- a/connectivity/source/commontools/ConnectionWrapper.cxx +++ b/connectivity/source/commontools/ConnectionWrapper.cxx @@ -120,7 +120,7 @@ OUString SAL_CALL OConnectionWrapper::getImplementationName( ) throw (::com::su // append our own service, if necessary OUString sConnectionService( "com.sun.star.sdbc.Connection" ); - if ( 0 == ::comphelper::findValue( aSupported, sConnectionService, sal_True ).getLength() ) + if ( 0 == ::comphelper::findValue( aSupported, sConnectionService, true ).getLength() ) { sal_Int32 nLen = aSupported.getLength(); aSupported.realloc( nLen + 1 ); diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 3705e3302b26..c07f80108e68 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1077,7 +1077,7 @@ sal_Bool ODbaseTable::CreateImpl() try { Content aContent(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference(), comphelper::getProcessComponentContext()); - aContent.executeCommand( "delete",bool2any( sal_True ) ); + aContent.executeCommand( "delete",bool2any( true ) ); } catch(const Exception&) // an exception is thrown when no file exists { @@ -1105,7 +1105,7 @@ sal_Bool ODbaseTable::CreateImpl() try { Content aMemoContent(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference(), comphelper::getProcessComponentContext()); - aMemoContent.executeCommand( "delete",bool2any( sal_True ) ); + aMemoContent.executeCommand( "delete",bool2any( true ) ); } catch(const Exception&) { @@ -1121,7 +1121,7 @@ sal_Bool ODbaseTable::CreateImpl() { aURL.setExtension(aExt); // kill dbf file Content aMemoContent(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference(), comphelper::getProcessComponentContext()); - aMemoContent.executeCommand( "delete",bool2any( sal_True ) ); + aMemoContent.executeCommand( "delete",bool2any( true ) ); return sal_False; } m_aHeader.db_typ = dBaseIIIMemo; -- cgit