diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-26 15:34:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-27 13:45:09 +0200 |
commit | 34002c4e5cf68ac0c98c3922c653c9ea8b898207 (patch) | |
tree | a1a87e45a968cee95e8db7d2f5704070a04b2934 /cui/source/dialogs | |
parent | ffca95023020a24eaff4ece1d4c7bedd469bfb78 (diff) |
sfx2: sal_Bool->bool
Change-Id: I1fd02cc148fd9a54d2092dad1e548f51a0813a14
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/cuigaldlg.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/hltpbase.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx index a2d26e074e5a..4a802e9c8943 100644 --- a/cui/source/dialogs/cuigaldlg.cxx +++ b/cui/source/dialogs/cuigaldlg.cxx @@ -679,10 +679,10 @@ void TPGalleryThemeGeneral::SetXChgData( ExchangeData* _pData ) -sal_Bool TPGalleryThemeGeneral::FillItemSet( SfxItemSet& /*rSet*/ ) +bool TPGalleryThemeGeneral::FillItemSet( SfxItemSet& /*rSet*/ ) { pData->aEditedTitle = m_pEdtMSName->GetText(); - return sal_True; + return true; } diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx index 4b6bfb486bb1..9d17318b8ec1 100644 --- a/cui/source/dialogs/hltpbase.cxx +++ b/cui/source/dialogs/hltpbase.cxx @@ -483,7 +483,7 @@ void SvxHyperlinkTabPageBase::Reset( const SfxItemSet& rItemSet) } // Fill output-ItemSet -sal_Bool SvxHyperlinkTabPageBase::FillItemSet( SfxItemSet& rOut) +bool SvxHyperlinkTabPageBase::FillItemSet( SfxItemSet& rOut) { OUString aStrURL, aStrName, aStrIntName, aStrFrame; SvxLinkInsertMode eMode; @@ -499,7 +499,7 @@ sal_Bool SvxHyperlinkTabPageBase::FillItemSet( SfxItemSet& rOut) aStrIntName, eMode, nEvents, pTable ); rOut.Put (aItem); - return sal_True; + return true; } OUString SvxHyperlinkTabPageBase::CreateUiNameFromURL( const OUString& aStrURL ) diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index 8c901d4289b7..e1aecea7aeca 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -1110,7 +1110,7 @@ short IconChoiceDialog::Ok() else if ( pExampleSet ) pOutSet = new SfxItemSet( *pExampleSet ); } - sal_Bool _bModified = sal_False; + bool _bModified = false; for ( size_t i = 0, nCount = maPageList.size(); i < nCount; ++i ) { @@ -1132,7 +1132,7 @@ short IconChoiceDialog::Ok() if ( pPage->FillItemSet( aTmp ) ) { - _bModified |= sal_True; + _bModified |= true; pExampleSet->Put( aTmp ); pOutSet->Put( aTmp ); } @@ -1141,7 +1141,7 @@ short IconChoiceDialog::Ok() } if ( _bModified || ( pOutSet && pOutSet->Count() > 0 ) ) - _bModified |= sal_True; + _bModified |= true; return _bModified ? RET_OK : RET_CANCEL; } |