diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-04-17 09:12:54 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-04-17 09:43:30 +0900 |
commit | 01c135776601cb767fb45456739596c50499820f (patch) | |
tree | a252fef3ce5cbfd18f57002f883a496bd9963240 /svx/source/unodialogs | |
parent | 9e0f880937174486030612961a518260fc76005e (diff) |
sal_Bool to bool
Change-Id: Id2ba5cf09227945fd97ef6f7e63cb40fa6488886
Diffstat (limited to 'svx/source/unodialogs')
4 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx index 3d08218baabd..656c06a3b2ba 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx @@ -253,7 +253,7 @@ void DictionaryList::addEntry( const OUString& rTerm, const OUString& rMapping if( hasTerm( rTerm ) ) return; - DictionaryEntry* pEntry = new DictionaryEntry( rTerm, rMapping, nConversionPropertyType, sal_True ); + DictionaryEntry* pEntry = new DictionaryEntry( rTerm, rMapping, nConversionPropertyType, true ); SvTreeListEntry* pLBEntry = InsertEntryToColumn( makeTabString( *pEntry ), nPos ); pLBEntry->SetUserData( pEntry ); SelectRow( GetEntryPos( pLBEntry ) ); @@ -421,7 +421,7 @@ SvLBoxItem* DictionaryList::getItemAtColumn( SvTreeListEntry* pEntry, sal_uInt16 DictionaryEntry::DictionaryEntry( const OUString& rTerm, const OUString& rMapping , sal_Int16 nConversionPropertyType - , sal_Bool bNewEntry ) + , bool bNewEntry ) : m_aTerm( rTerm ) , m_aMapping( rMapping ) , m_nConversionPropertyType( nConversionPropertyType ) diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx index 2728ac93c0a5..c0681fffdaea 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx @@ -49,7 +49,7 @@ struct DictionaryEntry { DictionaryEntry( const OUString& rTerm, const OUString& rMapping , sal_Int16 nConversionPropertyType //linguistic2::ConversionPropertyType - , sal_Bool bNewEntry = sal_False ); + , bool bNewEntry = false ); virtual ~DictionaryEntry(); @@ -59,7 +59,7 @@ struct DictionaryEntry OUString m_aMapping; sal_Int16 m_nConversionPropertyType; //linguistic2::ConversionPropertyType - sal_Bool m_bNewEntry; + bool m_bNewEntry; }; class DictionaryList : public SvHeaderTabListBox diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx index 4082018dee7f..5c8e11f0d8db 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx @@ -47,8 +47,8 @@ ChineseTranslation_UnoDialog::ChineseTranslation_UnoDialog( const uno::Reference : m_xCC( xContext ) , m_xParentWindow( 0 ) , m_pDialog( 0 ) - , m_bDisposed(sal_False) - , m_bInDispose(sal_False) + , m_bDisposed(false) + , m_bInDispose(false) , m_aContainerMutex() , m_aDisposeEventListeners(m_aContainerMutex) { diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx index 0e8b89cf10ac..c2553a98fc44 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx @@ -123,8 +123,8 @@ private: ChineseTranslationDialog* m_pDialog; - sal_Bool m_bDisposed; ///Dispose call ready. - sal_Bool m_bInDispose;///In dispose call + bool m_bDisposed; ///Dispose call ready. + bool m_bInDispose;///In dispose call osl::Mutex m_aContainerMutex; cppu::OInterfaceContainerHelper m_aDisposeEventListeners; }; |