From 2c6840eb95eb925be78f2b5279594ef5c71c2e98 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 20 Apr 2016 17:20:14 +0200 Subject: loplugin:salbool: Automatic rewrite of sal_False/True Change-Id: I5c33d8ed3551d9ad4432824995bfdc3f73cfc5f8 --- sw/source/uibase/dbui/dbmgr.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/uibase/dbui/dbmgr.cxx') diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index 8b9d6d5341fa..0b886c616a07 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -940,11 +940,11 @@ static void lcl_PreparePrinterOptions( const sal_Int32 nOffset = !bVisibleMonitor ? 2 : 1; rOutPrintOptions.realloc( nOffset ); rOutPrintOptions[ 0 ].Name = "Wait"; - rOutPrintOptions[ 0 ].Value <<= sal_True; + rOutPrintOptions[ 0 ].Value <<= true; if( !bVisibleMonitor ) { rOutPrintOptions[ 1 ].Name = "MonitorVisible"; - rOutPrintOptions[ 1 ].Value <<= sal_False; + rOutPrintOptions[ 1 ].Value <<= false; } // copy print options @@ -1766,7 +1766,7 @@ sal_uLong SwDBManager::GetColumnFormat( uno::Reference< sdbc::XDataSource> xSour aFormatString >>= sFormat; lang::Locale aLoc; aLocaleVal >>= aLoc; - nFormat = xDocNumberFormats->queryKey( sFormat, aLoc, sal_False ); + nFormat = xDocNumberFormats->queryKey( sFormat, aLoc, false ); if(NUMBERFORMAT_ENTRY_NOT_FOUND == sal::static_int_cast< sal_uInt32, sal_Int32>(nFormat)) nFormat = xDocNumberFormats->addNew( sFormat, aLoc ); nRet = nFormat; -- cgit