summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/uno
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/ui/uno
parente5434c67b183b0baae675321382d41ef3cc4f4e1 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5cd8fd979fd4caa3d7cde599096627bfdd0dec7e
Diffstat (limited to 'dbaccess/source/ui/uno')
-rw-r--r--dbaccess/source/ui/uno/ColumnControl.cxx4
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx2
-rw-r--r--dbaccess/source/ui/uno/unosqlmessage.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/uno/ColumnControl.cxx b/dbaccess/source/ui/uno/ColumnControl.cxx
index 8a19477eebed..580dc1ca6ec8 100644
--- a/dbaccess/source/ui/uno/ColumnControl.cxx
+++ b/dbaccess/source/ui/uno/ColumnControl.cxx
@@ -102,10 +102,10 @@ void SAL_CALL OColumnControl::createPeer(const Reference< XToolkit >& /*rToolkit
}
if (aComponentInfos.bVisible)
- xW->setVisible(sal_True);
+ xW->setVisible(true);
if (!aComponentInfos.bEnable)
- xW->setEnable(sal_False);
+ xW->setEnable(false);
if (maWindowListeners.getLength())
xW->addWindowListener( &maWindowListeners );
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index 144df8b397e2..b708ebc0fbae 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -373,7 +373,7 @@ CopyTableWizard::CopyTableWizard( const Reference< XComponentContext >& _rxORB )
,m_xContext( _rxORB )
,m_nOperation( CopyTableOperation::CopyDefinitionAndData )
,m_sDestinationTable()
- ,m_aPrimaryKeyName( sal_False, "ID" )
+ ,m_aPrimaryKeyName( false, "ID" )
,m_bUseHeaderLineAsColumnNames( true )
,m_xSourceConnection()
,m_nCommandType( CommandType::COMMAND )
diff --git a/dbaccess/source/ui/uno/unosqlmessage.cxx b/dbaccess/source/ui/uno/unosqlmessage.cxx
index 554a12ae83ad..a2d01a7e3c67 100644
--- a/dbaccess/source/ui/uno/unosqlmessage.cxx
+++ b/dbaccess/source/ui/uno/unosqlmessage.cxx
@@ -114,7 +114,7 @@ sal_Bool SAL_CALL OSQLMessageDialog::convertFastPropertyValue( Any& _rConvertedV
_rOldValue = m_aException;
_rConvertedValue = aInfo.get();
- return sal_True;
+ return true;
// always assume "modified", don't bother with comparing the two values
}
default: