WaE parameter shadow member

Change-Id: I231e41771e81f7e6f2939468e6b2175f2bc10101
This commit is contained in:
Norbert Thiebaud
2012-08-18 22:31:19 -05:00
parent b5d1380f3a
commit aa767cc265
2 changed files with 5 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ private:
String sSrchStr; // the search string
String sReplaceStr; // the replace string
SearchType eSrchType; // search normal/regular/LevDist
SearchType m_eSrchType; // search normal/regular/LevDist
int m_bWordOnly : 1; // used by normal search
int m_bSrchInSel : 1; // search only in the selection
@@ -92,7 +92,7 @@ public:
const String& GetSrchStr() const { return sSrchStr; }
const String& GetReplaceStr() const { return sReplaceStr; }
SearchType GetSrchType() const { return eSrchType; }
SearchType GetSrchType() const { return m_eSrchType; }
int IsCaseSensitive() const { return m_bCaseSense; }
int IsSrchInSelection() const { return m_bSrchInSel; }
@@ -101,7 +101,7 @@ public:
void SetSrchStr( const String& rStr ) { sSrchStr = rStr; }
void SetReplaceStr( const String& rStr ) { sReplaceStr = rStr; }
void SetSrchType( SearchType eType ) { eSrchType = eType; }
void SetSrchType( SearchType eType ) { m_eSrchType = eType; }
void SetCaseSensitive( int bFlag ) { m_bCaseSense = bFlag; }
void SetSrchInSelection( int bFlag ) { m_bSrchInSel = bFlag; }

View File

@@ -43,7 +43,7 @@ SearchParam::SearchParam( const String &rText,
sal_Bool bSearchInSel )
{
sSrchStr = rText;
eSrchType = eType;
m_eSrchType = eType;
m_bWordOnly = bWrdOnly;
m_bSrchInSel = bSearchInSel;
@@ -62,7 +62,7 @@ SearchParam::SearchParam( const SearchParam& rParam )
{
sSrchStr = rParam.sSrchStr;
sReplaceStr = rParam.sReplaceStr;
eSrchType = rParam.eSrchType;
m_eSrchType = rParam.m_eSrchType;
m_bWordOnly = rParam.m_bWordOnly;
m_bSrchInSel = rParam.m_bSrchInSel;