diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:20:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:27:28 +0200 |
commit | b7e28df9bb45f4f9ce2dad0325b905f26b12c0a0 (patch) | |
tree | 7604f2a6930344ad94440019067901c5d336f124 /toolkit/source/controls/grid | |
parent | caae9ec4e0aaa0ecc6676650a2e99c116294f7ed (diff) |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I04d2884dcb81482c5c3450c98cccb36096a126d4
Diffstat (limited to 'toolkit/source/controls/grid')
-rw-r--r-- | toolkit/source/controls/grid/defaultgridcolumnmodel.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/grid/gridcontrol.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
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; } |