diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-24 15:42:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-25 14:32:56 +0200 |
commit | 436cd900956b5fd0b6583954c002f8c28ca32698 (patch) | |
tree | 00bf0fb7c6daa0041670ce5209e5912780520a66 /reportdesign | |
parent | c849d750eb751d3f2b99d23cca1c8c08672ff379 (diff) |
svtools: sal_Bool->bool
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/dlg/AddField.cxx | 10 | ||||
-rw-r--r-- | reportdesign/source/ui/dlg/Navigator.cxx | 14 |
2 files changed, 12 insertions, 12 deletions
diff --git a/reportdesign/source/ui/dlg/AddField.cxx b/reportdesign/source/ui/dlg/AddField.cxx index cf982895fbb1..75e6a65bfc85 100644 --- a/reportdesign/source/ui/dlg/AddField.cxx +++ b/reportdesign/source/ui/dlg/AddField.cxx @@ -274,7 +274,7 @@ namespace const OUString* pEntries = _rEntries.getConstArray(); sal_Int32 nEntries = _rEntries.getLength(); for ( sal_Int32 i = 0; i < nEntries; ++i, ++pEntries ) - _rListBox.InsertEntry( *pEntries,NULL,sal_False,TREELIST_APPEND,new ColumnInfo(*pEntries) ); + _rListBox.InsertEntry( *pEntries,NULL,false,TREELIST_APPEND,new ColumnInfo(*pEntries) ); } void lcl_addToList( OAddFieldWindowListBox& _rListBox, const uno::Reference< container::XNameAccess>& i_xColumns ) { @@ -288,9 +288,9 @@ namespace if ( xColumn->getPropertySetInfo()->hasPropertyByName(PROPERTY_LABEL) ) xColumn->getPropertyValue(PROPERTY_LABEL) >>= sLabel; if ( !sLabel.isEmpty() ) - _rListBox.InsertEntry( sLabel,NULL,sal_False,TREELIST_APPEND,new ColumnInfo(*pEntries,sLabel) ); + _rListBox.InsertEntry( sLabel,NULL,false,TREELIST_APPEND,new ColumnInfo(*pEntries,sLabel) ); else - _rListBox.InsertEntry( *pEntries,NULL,sal_False,TREELIST_APPEND,new ColumnInfo(*pEntries,sLabel) ); + _rListBox.InsertEntry( *pEntries,NULL,false,TREELIST_APPEND,new ColumnInfo(*pEntries,sLabel) ); } } } @@ -456,9 +456,9 @@ void OAddFieldWindow::_elementInserted( const container::ContainerEvent& _rEvent if ( xColumn->getPropertySetInfo()->hasPropertyByName(PROPERTY_LABEL) ) xColumn->getPropertyValue(PROPERTY_LABEL) >>= sLabel; if ( !sLabel.isEmpty() ) - m_pListBox->InsertEntry( sLabel,NULL,sal_False,TREELIST_APPEND,new ColumnInfo(sName,sLabel) ); + m_pListBox->InsertEntry( sLabel,NULL,false,TREELIST_APPEND,new ColumnInfo(sName,sLabel) ); else - m_pListBox->InsertEntry( sName,NULL,sal_False,TREELIST_APPEND,new ColumnInfo(sName,sLabel) ); + m_pListBox->InsertEntry( sName,NULL,false,TREELIST_APPEND,new ColumnInfo(sName,sLabel) ); } } } diff --git a/reportdesign/source/ui/dlg/Navigator.cxx b/reportdesign/source/ui/dlg/Navigator.cxx index f424dff3ca06..7e0710e09cb8 100644 --- a/reportdesign/source/ui/dlg/Navigator.cxx +++ b/reportdesign/source/ui/dlg/Navigator.cxx @@ -278,8 +278,8 @@ void NavigatorTree::Command( const CommandEvent& rEvt ) break; if ( !IsSelected(ptClickedOn) ) { - SelectAll(sal_False); - Select(ptClickedOn, sal_True); + SelectAll(false); + Select(ptClickedOn, true); SetCurEntry(ptClickedOn); } } @@ -477,11 +477,11 @@ void NavigatorTree::_selectionChanged( const lang::EventObject& aEvent ) throw ( SvTreeListEntry* pEntry = find(xSelection); if ( pEntry && !IsSelected(pEntry) ) { - Select(pEntry, sal_True); + Select(pEntry, true); SetCurEntry(pEntry); } else if ( !pEntry ) - SelectAll(sal_False,sal_False); + SelectAll(false,false); } else { @@ -492,7 +492,7 @@ void NavigatorTree::_selectionChanged( const lang::EventObject& aEvent ) throw ( SvTreeListEntry* pEntry = find(*pIter); if ( pEntry && !IsSelected(pEntry) ) { - Select(pEntry, sal_True); + Select(pEntry, true); SetCurEntry(pEntry); } } @@ -506,10 +506,10 @@ SvTreeListEntry* NavigatorTree::insertEntry(const OUString& _sName,SvTreeListEnt if ( _nImageId ) { const Image aImage( m_aNavigatorImages.GetImage( _nImageId ) ); - pEntry = InsertEntry(_sName,aImage,aImage,_pParent,sal_False,_nPosition,_pData); + pEntry = InsertEntry(_sName,aImage,aImage,_pParent,false,_nPosition,_pData); } else - pEntry = InsertEntry(_sName,_pParent,sal_False,_nPosition,_pData); + pEntry = InsertEntry(_sName,_pParent,false,_nPosition,_pData); return pEntry; } |