summaryrefslogtreecommitdiff
path: root/dbaccess/source/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:16:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:39 +0200
commit6009d338236733006e69b184bfcfab355fa81493 (patch)
treedba220ce007e18eef94df5ea84762257e216f1fd /dbaccess/source/filter
parente5434c67b183b0baae675321382d41ef3cc4f4e1 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5cd8fd979fd4caa3d7cde599096627bfdd0dec7e
Diffstat (limited to 'dbaccess/source/filter')
-rw-r--r--dbaccess/source/filter/xml/dbloader2.cxx2
-rw-r--r--dbaccess/source/filter/xml/xmlDataSource.cxx8
-rw-r--r--dbaccess/source/filter/xml/xmlDataSourceInfo.cxx2
-rw-r--r--dbaccess/source/filter/xml/xmlfilter.cxx2
4 files changed, 7 insertions, 7 deletions
diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx
index ce5b7167d478..54689a16d830 100644
--- a/dbaccess/source/filter/xml/dbloader2.cxx
+++ b/dbaccess/source/filter/xml/dbloader2.cxx
@@ -377,7 +377,7 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU
{
// first check if preview is true, if so return with out creating a controller. Preview is not supported
::comphelper::NamedValueCollection aMediaDesc( rArgs );
- bool bPreview = aMediaDesc.getOrDefault( "Preview", sal_False );
+ bool bPreview = aMediaDesc.getOrDefault( "Preview", false );
if ( bPreview )
{
if (rListener.is())
diff --git a/dbaccess/source/filter/xml/xmlDataSource.cxx b/dbaccess/source/filter/xml/xmlDataSource.cxx
index 9b03217ccd05..80d2377d3e77 100644
--- a/dbaccess/source/filter/xml/xmlDataSource.cxx
+++ b/dbaccess/source/filter/xml/xmlDataSource.cxx
@@ -169,26 +169,26 @@ OXMLDataSource::OXMLDataSource( ODBFilter& rImport,
if ( !bFoundTableNameLengthLimited && ( _eUsedFor == eAppSettings ) )
{
aProperty.Name = INFO_ALLOWLONGTABLENAMES;
- aProperty.Value <<= sal_True;
+ aProperty.Value <<= true;
rImport.addInfo(aProperty);
}
if ( !bFoundParamNameSubstitution && ( _eUsedFor == eDriverSettings ) )
{
aProperty.Name = INFO_PARAMETERNAMESUBST;
- aProperty.Value <<= sal_True;
+ aProperty.Value <<= true;
rImport.addInfo(aProperty);
}
if ( !bFoundAppendTableAliasName && ( _eUsedFor == eAppSettings ) )
{
aProperty.Name = INFO_APPEND_TABLE_ALIAS;
- aProperty.Value <<= sal_True;
+ aProperty.Value <<= true;
rImport.addInfo(aProperty);
}
if ( !bFoundSuppressVersionColumns && ( _eUsedFor == eAppSettings ) )
{
try
{
- xDataSource->setPropertyValue(PROPERTY_SUPPRESSVERSIONCL,makeAny(sal_True));
+ xDataSource->setPropertyValue(PROPERTY_SUPPRESSVERSIONCL,makeAny(true));
}
catch(const Exception&)
{
diff --git a/dbaccess/source/filter/xml/xmlDataSourceInfo.cxx b/dbaccess/source/filter/xml/xmlDataSourceInfo.cxx
index c32d74c9984e..376dab7485da 100644
--- a/dbaccess/source/filter/xml/xmlDataSourceInfo.cxx
+++ b/dbaccess/source/filter/xml/xmlDataSourceInfo.cxx
@@ -100,7 +100,7 @@ OXMLDataSourceInfo::OXMLDataSourceInfo( ODBFilter& rImport
if ( bAutoEnabled )
{
aProperty.Name = INFO_AUTORETRIEVEENABLED;
- aProperty.Value <<= sal_True;
+ aProperty.Value <<= true;
rImport.addInfo(aProperty);
}
if ( rImport.isNewFormat() )
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx
index 2f1e97aa564d..dcc8f767116a 100644
--- a/dbaccess/source/filter/xml/xmlfilter.cxx
+++ b/dbaccess/source/filter/xml/xmlfilter.cxx
@@ -357,7 +357,7 @@ bool ODBFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
{
uno::Reference< XModifiable > xModi(GetModel(),UNO_QUERY);
if ( xModi.is() )
- xModi->setModified(sal_False);
+ xModi->setModified(false);
}
else
{