diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-08-18 15:10:41 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-08-18 15:10:41 -0500 |
commit | c6189b43f3103300dd03375a4bd6a5589708d8c9 (patch) | |
tree | ab858f0dc7838b3922b9932be5f6eec0fd4f8896 /unotools/inc | |
parent | c1b73536343ae0a7b6dd940b1c8a01784c4d7a30 (diff) |
WAE parameter shadow member
Change-Id: Icf41caa23ce9a548223da4613a199116641e7fe5
Diffstat (limited to 'unotools/inc')
-rw-r--r-- | unotools/inc/unotools/textsearch.hxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/unotools/inc/unotools/textsearch.hxx b/unotools/inc/unotools/textsearch.hxx index be34f6f1af53..dd34f09d6dde 100644 --- a/unotools/inc/unotools/textsearch.hxx +++ b/unotools/inc/unotools/textsearch.hxx @@ -57,9 +57,9 @@ private: SearchType eSrchType; // search normal/regular/LevDist - int bWordOnly : 1; // used by normal search - int bSrchInSel : 1; // search only in the selection - int bCaseSense : 1; // + int m_bWordOnly : 1; // used by normal search + int m_bSrchInSel : 1; // search only in the selection + int m_bCaseSense : 1; // // values for the "weight Levenshtein-Distance" int bLEV_Relaxed : 1; @@ -73,19 +73,19 @@ private: public: SearchParam( const String &rText, SearchType eSrchType = SearchParam::SRCH_NORMAL, - sal_Bool bCaseSens = sal_True, - sal_Bool bWrdOnly = sal_False, - sal_Bool bSrchInSel = sal_False ); + sal_Bool bCaseSensitive = sal_True, + sal_Bool bWordOnly = sal_False, + sal_Bool bSearchInSelection = sal_False ); // Wrapper to use OUString as parameter - SearchParam( const OUString &rText, + SearchParam( const ::rtl::OUString &rText, SearchType eSrchType = SearchParam::SRCH_NORMAL, - sal_Bool bCaseSens = sal_True, - sal_Bool bWrdOnly = sal_False, - sal_Bool bSrchInSel = sal_False ) + sal_Bool bCaseSensitive = sal_True, + sal_Bool bWordOnly = sal_False, + sal_Bool bSearchInSelection = sal_False ) { String rText2(rText); - SearchParam( rText2, eSrchType, bCaseSens, bWrdOnly, bSrchInSel ); + SearchParam( rText2, eSrchType, bCaseSensitive, bWordOnly, bSearchInSelection ); } SearchParam( const SearchParam& ); @@ -94,18 +94,18 @@ public: const String& GetReplaceStr() const { return sReplaceStr; } SearchType GetSrchType() const { return eSrchType; } - int IsCaseSensitive() const { return bCaseSense; } - int IsSrchInSelection() const { return bSrchInSel; } - int IsSrchWordOnly() const { return bWordOnly; } + int IsCaseSensitive() const { return m_bCaseSense; } + int IsSrchInSelection() const { return m_bSrchInSel; } + int IsSrchWordOnly() const { return m_bWordOnly; } void SetSrchStr( const String& rStr ) { sSrchStr = rStr; } void SetReplaceStr( const String& rStr ) { sReplaceStr = rStr; } void SetSrchType( SearchType eType ) { eSrchType = eType; } - void SetCaseSensitive( int bFlag ) { bCaseSense = bFlag; } - void SetSrchInSelection( int bFlag ) { bSrchInSel = bFlag; } - void SetSrchWordOnly( int bFlag ) { bWordOnly = bFlag; } + void SetCaseSensitive( int bFlag ) { m_bCaseSense = bFlag; } + void SetSrchInSelection( int bFlag ) { m_bSrchInSel = bFlag; } + void SetSrchWordOnly( int bFlag ) { m_bWordOnly = bFlag; } int IsSrchRelaxed() const { return bLEV_Relaxed; } int GetLEVOther() const { return nLEV_OtherX; } |