summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dbui/dbmgr.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:20:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:27 +0200
commit2c6840eb95eb925be78f2b5279594ef5c71c2e98 (patch)
treee51faa80bc33355f2224311f8b7ec0f10ef2da0d /sw/source/uibase/dbui/dbmgr.cxx
parentbb34461d280d499d93ef982e9b7391fd791ffa35 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5c33d8ed3551d9ad4432824995bfdc3f73cfc5f8
Diffstat (limited to 'sw/source/uibase/dbui/dbmgr.cxx')
-rw-r--r--sw/source/uibase/dbui/dbmgr.cxx6
1 files changed, 3 insertions, 3 deletions
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;