diff options
-rw-r--r-- | toolkit/source/awt/animatedimagespeer.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/awt/vclxfont.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxmenu.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/awt/vclxprinter.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/awt/vclxtopwindow.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 20 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/animatedimages.cxx | 6 | ||||
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/dialogcontrol.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/grid/defaultgridcolumnmodel.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/grid/gridcontrol.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/tree/treecontrol.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrol.cxx | 6 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrolcontainer.cxx | 6 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrolmodel.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrols.cxx | 26 | ||||
-rw-r--r-- | toolkit/source/helper/vclunohelper.cxx | 2 |
18 files changed, 51 insertions, 51 deletions
diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx index 1f1a8efb1019..82169b358d70 100644 --- a/toolkit/source/awt/animatedimagespeer.cxx +++ b/toolkit/source/awt/animatedimagespeer.cxx @@ -326,7 +326,7 @@ namespace toolkit VclPtr<Throbber> pThrobber = GetAsDynamic<Throbber>(); if (pThrobber) return pThrobber->isRunning(); - return sal_False; + return false; } void SAL_CALL AnimatedImagesPeer::setProperty( const OUString& i_propertyName, const Any& i_value ) throw(RuntimeException, std::exception) diff --git a/toolkit/source/awt/vclxfont.cxx b/toolkit/source/awt/vclxfont.cxx index 6504346055b6..aa42cf64272e 100644 --- a/toolkit/source/awt/vclxfont.cxx +++ b/toolkit/source/awt/vclxfont.cxx @@ -207,11 +207,11 @@ sal_Bool VCLXFont::hasGlyphs( const OUString& aText ) { if ( pOutDev->HasGlyphs( maFont, aText ) == -1 ) { - return sal_True; + return true; } } - return sal_False; + return false; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx index a56bd915aa08..8c2598e9f982 100644 --- a/toolkit/source/awt/vclxmenu.cxx +++ b/toolkit/source/awt/vclxmenu.cxx @@ -715,7 +715,7 @@ throw (css::uno::RuntimeException, std::exception) if ( mpMenu && IsPopupMenu() ) return PopupMenu::IsInExecute(); else - return sal_False; + return false; } diff --git a/toolkit/source/awt/vclxprinter.cxx b/toolkit/source/awt/vclxprinter.cxx index 8d8f624d6e04..3a12b2367053 100644 --- a/toolkit/source/awt/vclxprinter.cxx +++ b/toolkit/source/awt/vclxprinter.cxx @@ -112,7 +112,7 @@ css::uno::Reference< css::beans::XPropertySetInfo > VCLXPrinterPropertySet::getP { sal_uInt16 nElements; css::beans::Property* pProps = ImplGetProperties( nElements ); - pPropertyArrayHelper = new ::cppu::OPropertyArrayHelper( pProps, nElements, sal_False ); + pPropertyArrayHelper = new ::cppu::OPropertyArrayHelper( pProps, nElements, false ); } } return *pPropertyArrayHelper ; diff --git a/toolkit/source/awt/vclxtopwindow.cxx b/toolkit/source/awt/vclxtopwindow.cxx index 781a7cbbf21b..a04f968ff219 100644 --- a/toolkit/source/awt/vclxtopwindow.cxx +++ b/toolkit/source/awt/vclxtopwindow.cxx @@ -169,7 +169,7 @@ sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMaximized() throw (RuntimeException, const WorkWindow* pWindow = dynamic_cast< const WorkWindow* >( GetWindowImpl() ); if ( !pWindow ) - return sal_False; + return false; return pWindow->IsMaximized(); } @@ -193,7 +193,7 @@ sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMinimized() throw (RuntimeException, const WorkWindow* pWindow = dynamic_cast< const WorkWindow* >( GetWindowImpl() ); if ( !pWindow ) - return sal_False; + return false; return pWindow->IsMinimized(); } diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 07d7895c7f58..5f896a93b116 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -574,7 +574,7 @@ void VCLXWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) css::awt::FocusEvent aEvent; aEvent.Source = static_cast<cppu::OWeakObject*>(this); aEvent.FocusFlags = static_cast<sal_Int16>(rVclWindowEvent.GetWindow()->GetGetFocusFlags()); - aEvent.Temporary = sal_False; + aEvent.Temporary = false; mpImpl->getFocusListeners().focusGained( aEvent ); } } @@ -596,7 +596,7 @@ void VCLXWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) css::awt::FocusEvent aEvent; aEvent.Source = static_cast<cppu::OWeakObject*>(this); aEvent.FocusFlags = static_cast<sal_Int16>(rVclWindowEvent.GetWindow()->GetGetFocusFlags()); - aEvent.Temporary = sal_False; + aEvent.Temporary = false; vcl::Window* pNext = Application::GetFocusWindow(); if ( pNext ) @@ -675,7 +675,7 @@ void VCLXWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) MouseEvent aMEvt( aWhere, 1, MouseEventModifiers::SIMPLECLICK, MOUSE_LEFT, 0 ); awt::MouseEvent aEvent( VCLUnoHelper::createMouseEvent( aMEvt, *this ) ); - aEvent.PopupTrigger = sal_True; + aEvent.PopupTrigger = true; Callback aCallback = [ this, aEvent ]() { this->mpImpl->getMouseListeners().mousePressed( aEvent ); }; @@ -2417,7 +2417,7 @@ sal_Bool SAL_CALL VCLXWindow::isFloating( ) throw (css::uno::RuntimeException, if( pWindow ) return vcl::Window::GetDockingManager()->IsFloating( pWindow ); else - return sal_False; + return false; } void SAL_CALL VCLXWindow::setFloatingMode( sal_Bool bFloating ) throw (css::uno::RuntimeException, std::exception) @@ -2437,7 +2437,7 @@ sal_Bool SAL_CALL VCLXWindow::isLocked( ) throw (css::uno::RuntimeException, st if( pWindow ) return vcl::Window::GetDockingManager()->IsLocked( pWindow ); else - return sal_False; + return false; } void SAL_CALL VCLXWindow::lock( ) throw (css::uno::RuntimeException, std::exception) @@ -2468,7 +2468,7 @@ sal_Bool SAL_CALL VCLXWindow::isInPopupMode( ) throw (css::uno::RuntimeExceptio { // TODO: remove interface in the next incompatible build SolarMutexGuard aGuard; - return sal_False; + return false; } @@ -2510,7 +2510,7 @@ sal_Bool SAL_CALL VCLXWindow::isVisible( ) throw (css::uno::RuntimeException, s if( GetWindow() ) return GetWindow()->IsVisible(); else - return sal_False; + return false; } sal_Bool SAL_CALL VCLXWindow::isActive( ) throw (css::uno::RuntimeException, std::exception) @@ -2519,7 +2519,7 @@ sal_Bool SAL_CALL VCLXWindow::isActive( ) throw (css::uno::RuntimeException, st if( GetWindow() ) return GetWindow()->IsActive(); else - return sal_False; + return false; } @@ -2529,7 +2529,7 @@ sal_Bool SAL_CALL VCLXWindow::isEnabled( ) throw (css::uno::RuntimeException, s if( GetWindow() ) return GetWindow()->IsEnabled(); else - return sal_False; + return false; } sal_Bool SAL_CALL VCLXWindow::hasFocus( ) throw (css::uno::RuntimeException, std::exception) @@ -2538,7 +2538,7 @@ sal_Bool SAL_CALL VCLXWindow::hasFocus( ) throw (css::uno::RuntimeException, st if( GetWindow() ) return GetWindow()->HasFocus(); else - return sal_False; + return false; } // css::beans::XPropertySetInfo diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index bf946a1c8748..53db58117f49 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -1888,7 +1888,7 @@ void VCLXListBox::setProperty( const OUString& PropertyName, const css::uno::Any pListBox->SelectEntryPos( --n, false ); if ( aItems.getLength() ) - selectItemsPos( aItems, sal_True ); + selectItemsPos( aItems, true ); else pListBox->SetNoSelection(); diff --git a/toolkit/source/controls/animatedimages.cxx b/toolkit/source/controls/animatedimages.cxx index aa45bdaabcca..3a461083fa79 100644 --- a/toolkit/source/controls/animatedimages.cxx +++ b/toolkit/source/controls/animatedimages.cxx @@ -112,7 +112,7 @@ public: Reference< XAnimation > xAnimation( getPeer(), UNO_QUERY ); if ( xAnimation.is() ) return xAnimation->isAnimationRunning(); - return sal_False; + return false; } @@ -152,7 +152,7 @@ public: const Reference< XAnimatedImages > xNewContainer( i_rModel, UNO_QUERY ); if ( !AnimatedImagesControl_Base::setModel( i_rModel ) ) - return sal_False; + return false; if ( xOldContainer.is() ) xOldContainer->removeContainerListener( this ); @@ -162,7 +162,7 @@ public: lcl_updatePeer( getPeer(), getModel() ); - return sal_True; + return true; } diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 8be65bfa7a7c..c9c1abd30fab 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -661,7 +661,7 @@ void ControlModelContainerBase::removeByName( const OUString& aName ) throw(NoSu sal_Bool SAL_CALL ControlModelContainerBase::getGroupControl( ) throw (RuntimeException, std::exception) { - return sal_True; + return true; } diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx index e9c46ee7b334..0f60e55ce8e7 100644 --- a/toolkit/source/controls/dialogcontrol.cxx +++ b/toolkit/source/controls/dialogcontrol.cxx @@ -973,7 +973,7 @@ void UnoMultiPageModel::insertByName( const OUString& aName, const Any& aElement sal_Bool SAL_CALL UnoMultiPageModel::getGroupControl( ) throw (RuntimeException, std::exception) { - return sal_True; + return true; } @@ -1078,7 +1078,7 @@ uno::Reference< beans::XPropertySetInfo > UnoPageModel::getPropertySetInfo( ) t sal_Bool SAL_CALL UnoPageModel::getGroupControl( ) throw (RuntimeException, std::exception) { - return sal_False; + return false; } // Frame control diff --git a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx index 99d3d3a8384a..317163344496 100644 --- a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx +++ b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx @@ -280,7 +280,7 @@ private: pGridColumn->setTitle( colTitle.makeStringAndClear() ); pGridColumn->setColumnWidth( 80 /* APPFONT */ ); pGridColumn->setFlexibility( 1 ); - pGridColumn->setResizeable( sal_True ); + pGridColumn->setResizeable( true ); pGridColumn->setDataColumnIndex( i ); ContainerEvent aEvent; diff --git a/toolkit/source/controls/grid/gridcontrol.cxx b/toolkit/source/controls/grid/gridcontrol.cxx index 773bf22f4476..62709421d1f5 100644 --- a/toolkit/source/controls/grid/gridcontrol.cxx +++ b/toolkit/source/controls/grid/gridcontrol.cxx @@ -352,9 +352,9 @@ sal_Bool SAL_CALL UnoGridControl::setModel( const Reference< XControlModel >& i_ { lcl_setEventForwarding( getModel(), m_pEventForwarder, false ); if ( !UnoGridControl_Base::setModel( i_model ) ) - return sal_False; + return false; lcl_setEventForwarding( getModel(), m_pEventForwarder, true ); - return sal_True; + return true; } diff --git a/toolkit/source/controls/tree/treecontrol.cxx b/toolkit/source/controls/tree/treecontrol.cxx index 1ca574067df4..428d5b9ddfcc 100644 --- a/toolkit/source/controls/tree/treecontrol.cxx +++ b/toolkit/source/controls/tree/treecontrol.cxx @@ -96,11 +96,11 @@ Any UnoTreeModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const return Any( Reference< XTreeDataModel >( nullptr ) ); case BASEPROPERTY_TREE_EDITABLE: case BASEPROPERTY_TREE_INVOKESSTOPNODEEDITING: - return Any( sal_False ); + return Any( false ); case BASEPROPERTY_TREE_ROOTDISPLAYED: case BASEPROPERTY_TREE_SHOWSROOTHANDLES: case BASEPROPERTY_TREE_SHOWSHANDLES: - return Any( sal_True ); + return Any( true ); case BASEPROPERTY_DEFAULTCONTROL: return uno::makeAny( OUString( "com.sun.star.awt.tree.TreeControl" ) ); default: diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index c6d79b8e2762..75959ed08cf9 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -723,7 +723,7 @@ sal_Bool SAL_CALL UnoControl::isVisible( ) throw (RuntimeException, std::except sal_Bool SAL_CALL UnoControl::isActive( ) throw (RuntimeException, std::exception) { - return lcl_askPeer( getPeer(), &XWindow2::isActive, sal_False ); + return lcl_askPeer( getPeer(), &XWindow2::isActive, false ); } sal_Bool SAL_CALL UnoControl::isEnabled( ) throw (RuntimeException, std::exception) @@ -733,7 +733,7 @@ sal_Bool SAL_CALL UnoControl::isEnabled( ) throw (RuntimeException, std::except sal_Bool SAL_CALL UnoControl::hasFocus( ) throw (RuntimeException, std::exception) { - return lcl_askPeer( getPeer(), &XWindow2::hasFocus, sal_False ); + return lcl_askPeer( getPeer(), &XWindow2::hasFocus, false ); } // XWindow @@ -1416,7 +1416,7 @@ sal_Bool UnoControl::isDesignMode( ) throw(RuntimeException, std::exception) sal_Bool UnoControl::isTransparent( ) throw(RuntimeException, std::exception) { - return sal_False; + return false; } // XServiceInfo diff --git a/toolkit/source/controls/unocontrolcontainer.cxx b/toolkit/source/controls/unocontrolcontainer.cxx index 5bfd89ac1582..a6278272a938 100644 --- a/toolkit/source/controls/unocontrolcontainer.cxx +++ b/toolkit/source/controls/unocontrolcontainer.cxx @@ -748,7 +748,7 @@ void UnoControlContainer::createPeer( const uno::Reference< awt::XToolkit >& rxT { bool bVis = maComponentInfos.bVisible; if( bVis ) - UnoControl::setVisible( sal_False ); + UnoControl::setVisible( false ); uno::Reference< beans::XPropertySet > xTmpPropSet ( getModel(), uno::UNO_QUERY ); @@ -788,12 +788,12 @@ void UnoControlContainer::createPeer( const uno::Reference< awt::XToolkit >& rxT uno::Reference< awt::XVclContainerPeer > xC( getPeer(), uno::UNO_QUERY ); if ( xC.is() ) - xC->enableDialogControl( sal_True ); + xC->enableDialogControl( true ); ImplActivateTabControllers(); } if( bVis && !isDesignMode() ) - UnoControl::setVisible( sal_True ); + UnoControl::setVisible( true ); } } diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 57bd9dbe8a20..4d390c30bba0 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -710,7 +710,7 @@ void UnoControlModel::write( const css::uno::Reference< css::io::XObjectOutputSt sal_Int32 nPropDataBeginMark = xMark->createMark(); OutStream->writeLong( 0L ); // DataLen OutStream->writeShort( n ); // PropId - OutStream->writeBoolean( sal_False ); // Void + OutStream->writeBoolean( false ); // Void if ( n == BASEPROPERTY_FONT_TYPE ) { @@ -1279,7 +1279,7 @@ void UnoControlModel::setFastPropertyValue( sal_Int32 nPropId, const css::uno::A aGuard.clear(); setFastPropertyValues( 1, &nDescriptorId, &aNewValue, 1 ); - fire( &nPropId, &aNewSingleValue, &aOldSingleValue, 1, sal_False ); + fire( &nPropId, &aNewSingleValue, &aOldSingleValue, 1, false ); } else setFastPropertyValues( 1, &nPropId, &rValue, 1 ); diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index 6597313c7ba0..2cdc0fe3fd25 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -1085,7 +1085,7 @@ void UnoImageControlControl::dispose() throw(uno::RuntimeException, std::excepti sal_Bool UnoImageControlControl::isTransparent() throw(uno::RuntimeException, std::exception) { - return sal_True; + return true; } awt::Size UnoImageControlControl::getMinimumSize( ) throw(uno::RuntimeException, std::exception) @@ -1228,7 +1228,7 @@ void UnoRadioButtonControl::dispose() throw(uno::RuntimeException, std::exceptio sal_Bool UnoRadioButtonControl::isTransparent() throw(uno::RuntimeException, std::exception) { - return sal_True; + return true; } void UnoRadioButtonControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception) @@ -1482,7 +1482,7 @@ void UnoCheckBoxControl::dispose() throw(uno::RuntimeException, std::exception) sal_Bool UnoCheckBoxControl::isTransparent() throw(uno::RuntimeException, std::exception) { - return sal_True; + return true; } void UnoCheckBoxControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception) @@ -1715,7 +1715,7 @@ IMPL_XTYPEPROVIDER_END sal_Bool UnoFixedHyperlinkControl::isTransparent() throw(uno::RuntimeException, std::exception) { - return sal_True; + return true; } void UnoFixedHyperlinkControl::setText( const OUString& Text ) throw(uno::RuntimeException, std::exception) @@ -1928,7 +1928,7 @@ IMPL_XTYPEPROVIDER_END sal_Bool UnoFixedTextControl::isTransparent() throw(uno::RuntimeException, std::exception) { - return sal_True; + return true; } void UnoFixedTextControl::setText( const OUString& Text ) throw(uno::RuntimeException, std::exception) @@ -2093,7 +2093,7 @@ OUString UnoGroupBoxControl::GetComponentServiceName() sal_Bool UnoGroupBoxControl::isTransparent() throw(uno::RuntimeException, std::exception) { - return sal_True; + return true; } OUString UnoGroupBoxControl::getImplementationName() @@ -2664,12 +2664,12 @@ void UnoControlListBoxModel::impl_notifyItemListEvent_nolck( const sal_Int32 i_n aEvent.ItemPosition = i_nItemPosition; if ( !!i_rItemText ) { - aEvent.ItemText.IsPresent = sal_True; + aEvent.ItemText.IsPresent = true; aEvent.ItemText.Value = *i_rItemText; } if ( !!i_rItemImageURL ) { - aEvent.ItemImageURL.IsPresent = sal_True; + aEvent.ItemImageURL.IsPresent = true; aEvent.ItemImageURL.Value = *i_rItemImageURL; } @@ -3072,14 +3072,14 @@ sal_Bool SAL_CALL UnoListBoxControl::setModel( const uno::Reference< awt::XContr OSL_ENSURE( xNewItems.is() || !i_rModel.is(), "UnoListBoxControl::setModel: illegal new model!" ); if ( !UnoListBoxControl_Base::setModel( i_rModel ) ) - return sal_False; + return false; if ( xOldItems.is() ) xOldItems->removeItemListListener( this ); if ( xNewItems.is() ) xNewItems->addItemListListener( this ); - return sal_True; + return true; } void SAL_CALL UnoListBoxControl::listItemInserted( const awt::ItemListEvent& i_rEvent ) throw (uno::RuntimeException, std::exception) @@ -3394,14 +3394,14 @@ sal_Bool SAL_CALL UnoComboBoxControl::setModel( const uno::Reference< awt::XCont OSL_ENSURE( xNewItems.is() || !i_rModel.is(), "UnoComboBoxControl::setModel: illegal new model!" ); if ( !UnoEditControl::setModel( i_rModel ) ) - return sal_False; + return false; if ( xOldItems.is() ) xOldItems->removeItemListListener( this ); if ( xNewItems.is() ) xNewItems->addItemListListener( this ); - return sal_True; + return true; } void SAL_CALL UnoComboBoxControl::listItemInserted( const awt::ItemListEvent& i_rEvent ) throw (uno::RuntimeException, std::exception) @@ -5144,7 +5144,7 @@ OUString UnoFixedLineControl::GetComponentServiceName() sal_Bool UnoFixedLineControl::isTransparent() throw(uno::RuntimeException, std::exception) { - return sal_True; + return true; } OUString UnoFixedLineControl::getImplementationName() diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx index 0e8f618a9925..bfe0e51613f6 100644 --- a/toolkit/source/helper/vclunohelper.cxx +++ b/toolkit/source/helper/vclunohelper.cxx @@ -705,7 +705,7 @@ awt::MouseEvent VCLUnoHelper::createMouseEvent( const ::MouseEvent& _rVclEvent, aMouseEvent.X = _rVclEvent.GetPosPixel().X(); aMouseEvent.Y = _rVclEvent.GetPosPixel().Y(); aMouseEvent.ClickCount = _rVclEvent.GetClicks(); - aMouseEvent.PopupTrigger = sal_False; + aMouseEvent.PopupTrigger = false; return aMouseEvent; } |