diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:16:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:25:39 +0200 |
commit | 6009d338236733006e69b184bfcfab355fa81493 (patch) | |
tree | dba220ce007e18eef94df5ea84762257e216f1fd /dbaccess/source/ui/misc/databaseobjectview.cxx | |
parent | e5434c67b183b0baae675321382d41ef3cc4f4e1 (diff) |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5cd8fd979fd4caa3d7cde599096627bfdd0dec7e
Diffstat (limited to 'dbaccess/source/ui/misc/databaseobjectview.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/databaseobjectview.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/misc/databaseobjectview.cxx b/dbaccess/source/ui/misc/databaseobjectview.cxx index f0045aba106f..6b91673a704a 100644 --- a/dbaccess/source/ui/misc/databaseobjectview.cxx +++ b/dbaccess/source/ui/misc/databaseobjectview.cxx @@ -119,11 +119,11 @@ namespace dbaui lArgs[nArg++] <<= aProp; aProp.Name = "TopWindow"; - aProp.Value <<= sal_True; + aProp.Value <<= true; lArgs[nArg++] <<= aProp; aProp.Name = "SupportPersistentWindowState"; - aProp.Value <<= sal_True; + aProp.Value <<= true; lArgs[nArg++] <<= aProp; m_xFrameLoader.set(xFact->createInstanceWithArguments(lArgs), UNO_QUERY_THROW); @@ -188,7 +188,7 @@ namespace dbaui DatabaseObjectView::fillDispatchArgs( i_rDispatchArgs, _aDataSource, _rObjectName ); const bool bIncludeQueryName = !_rObjectName.isEmpty(); - const bool bGraphicalDesign = i_rDispatchArgs.getOrDefault( PROPERTY_GRAPHICAL_DESIGN, sal_True ); + const bool bGraphicalDesign = i_rDispatchArgs.getOrDefault( PROPERTY_GRAPHICAL_DESIGN, true ); const bool bEditViewAsSQLCommand = ( m_nCommandType == CommandType::TABLE ) && !bGraphicalDesign; i_rDispatchArgs.put( OUString(PROPERTY_COMMAND_TYPE), m_nCommandType ); @@ -200,7 +200,7 @@ namespace dbaui if ( bEditViewAsSQLCommand ) { - i_rDispatchArgs.put( OUString(PROPERTY_ESCAPE_PROCESSING), sal_False ); + i_rDispatchArgs.put( OUString(PROPERTY_ESCAPE_PROCESSING), false ); } } @@ -285,7 +285,7 @@ namespace dbaui i_rDispatchArgs.put( OUString(PROPERTY_COMMAND_TYPE), (m_bTable ? CommandType::TABLE : CommandType::QUERY) ); i_rDispatchArgs.put( OUString(PROPERTY_COMMAND), _rQualifiedName ); - i_rDispatchArgs.put( OUString(PROPERTY_ENABLE_BROWSER), sal_False ); + i_rDispatchArgs.put( OUString(PROPERTY_ENABLE_BROWSER), false ); if ( m_bTable ) { |