diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-06 14:38:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:24 +0200 |
commit | d1bffe3596d21f205cb7a2697bb5142f190b5627 (patch) | |
tree | d0e8e310bb9574fac992118739019c8c30c5b185 /include/svx/srchdlg.hxx | |
parent | 53c91a6db1cdaf3a91fba6ea328acdcc33c4088a (diff) |
svx: sal_Bool->bool
Change-Id: I64d9c1bbe6ed85108783bf6a97329fcdc167ca62
Diffstat (limited to 'include/svx/srchdlg.hxx')
-rw-r--r-- | include/svx/srchdlg.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx index 319727e57b66..e4fb11fcbb02 100644 --- a/include/svx/srchdlg.hxx +++ b/include/svx/srchdlg.hxx @@ -132,8 +132,8 @@ public: const SearchAttrItemList* GetReplaceItemList() const { return pReplaceList; } - inline sal_Bool HasSearchAttributes() const; - inline sal_Bool HasReplaceAttributes() const; + inline bool HasSearchAttributes() const; + inline bool HasReplaceAttributes() const; PushButton& GetReplaceBtn() { return *m_pReplaceBtn; } @@ -141,8 +141,8 @@ public: void SetDocWin( Window* pDocWin ) { mpDocWin = pDocWin; } Window* GetDocWin() { return mpDocWin; } - void SetSrchFlag( sal_Bool bSuccess = sal_False ) { mbSuccess = bSuccess; } - sal_Bool GetSrchFlag() { return mbSuccess; } + void SetSrchFlag( bool bSuccess = false ) { mbSuccess = bSuccess; } + bool GetSrchFlag() { return mbSuccess; } virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > GetComponentInterface( sal_Bool bCreate ); @@ -152,7 +152,7 @@ public: private: Window* mpDocWin; - sal_Bool mbSuccess; + bool mbSuccess; VclFrame* m_pSearchFrame; ComboBox* m_pSearchLB; @@ -203,9 +203,9 @@ private: CheckBox* m_pAllSheetsCB; SfxBindings& rBindings; - sal_Bool bWriter; - sal_Bool bSearch; - sal_Bool bFormat; + bool bWriter; + bool bSearch; + bool bFormat; sal_uInt16 nOptions; bool bSet; bool bReadOnly; @@ -250,9 +250,9 @@ private: void Init_Impl( bool bHasItemSet ); void InitAttrList_Impl( const SfxItemSet* pSSet, const SfxItemSet* pRSet ); - void Remember_Impl( const OUString &rStr,sal_Bool bSearch ); + void Remember_Impl( const OUString &rStr, bool bSearch ); void PaintAttrText_Impl(); - OUString& BuildAttrText_Impl( OUString& rStr, sal_Bool bSrchFlag ) const; + OUString& BuildAttrText_Impl( OUString& rStr, bool bSrchFlag ) const; void TemplatesChanged_Impl( SfxStyleSheetBasePool& rPool ); void EnableControls_Impl( const sal_uInt16 nFlags ); @@ -265,15 +265,15 @@ private: void ApplyTransliterationFlags_Impl( sal_Int32 nSettings ); }; -inline sal_Bool SvxSearchDialog::HasSearchAttributes() const +inline bool SvxSearchDialog::HasSearchAttributes() const { - sal_Bool bLen = !m_pSearchAttrText->GetText().isEmpty(); + bool bLen = !m_pSearchAttrText->GetText().isEmpty(); return ( m_pSearchAttrText->IsEnabled() && bLen ); } -inline sal_Bool SvxSearchDialog::HasReplaceAttributes() const +inline bool SvxSearchDialog::HasReplaceAttributes() const { - sal_Bool bLen = !m_pReplaceAttrText->GetText().isEmpty(); + bool bLen = !m_pReplaceAttrText->GetText().isEmpty(); return ( m_pReplaceAttrText->IsEnabled() && bLen ); } |