WaE parameter shadow member
Change-Id: I231e41771e81f7e6f2939468e6b2175f2bc10101
This commit is contained in:
@@ -55,7 +55,7 @@ private:
|
|||||||
String sSrchStr; // the search string
|
String sSrchStr; // the search string
|
||||||
String sReplaceStr; // the replace 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_bWordOnly : 1; // used by normal search
|
||||||
int m_bSrchInSel : 1; // search only in the selection
|
int m_bSrchInSel : 1; // search only in the selection
|
||||||
@@ -92,7 +92,7 @@ public:
|
|||||||
|
|
||||||
const String& GetSrchStr() const { return sSrchStr; }
|
const String& GetSrchStr() const { return sSrchStr; }
|
||||||
const String& GetReplaceStr() const { return sReplaceStr; }
|
const String& GetReplaceStr() const { return sReplaceStr; }
|
||||||
SearchType GetSrchType() const { return eSrchType; }
|
SearchType GetSrchType() const { return m_eSrchType; }
|
||||||
|
|
||||||
int IsCaseSensitive() const { return m_bCaseSense; }
|
int IsCaseSensitive() const { return m_bCaseSense; }
|
||||||
int IsSrchInSelection() const { return m_bSrchInSel; }
|
int IsSrchInSelection() const { return m_bSrchInSel; }
|
||||||
@@ -101,7 +101,7 @@ public:
|
|||||||
|
|
||||||
void SetSrchStr( const String& rStr ) { sSrchStr = rStr; }
|
void SetSrchStr( const String& rStr ) { sSrchStr = rStr; }
|
||||||
void SetReplaceStr( const String& rStr ) { sReplaceStr = 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 SetCaseSensitive( int bFlag ) { m_bCaseSense = bFlag; }
|
||||||
void SetSrchInSelection( int bFlag ) { m_bSrchInSel = bFlag; }
|
void SetSrchInSelection( int bFlag ) { m_bSrchInSel = bFlag; }
|
||||||
|
@@ -43,7 +43,7 @@ SearchParam::SearchParam( const String &rText,
|
|||||||
sal_Bool bSearchInSel )
|
sal_Bool bSearchInSel )
|
||||||
{
|
{
|
||||||
sSrchStr = rText;
|
sSrchStr = rText;
|
||||||
eSrchType = eType;
|
m_eSrchType = eType;
|
||||||
|
|
||||||
m_bWordOnly = bWrdOnly;
|
m_bWordOnly = bWrdOnly;
|
||||||
m_bSrchInSel = bSearchInSel;
|
m_bSrchInSel = bSearchInSel;
|
||||||
@@ -62,7 +62,7 @@ SearchParam::SearchParam( const SearchParam& rParam )
|
|||||||
{
|
{
|
||||||
sSrchStr = rParam.sSrchStr;
|
sSrchStr = rParam.sSrchStr;
|
||||||
sReplaceStr = rParam.sReplaceStr;
|
sReplaceStr = rParam.sReplaceStr;
|
||||||
eSrchType = rParam.eSrchType;
|
m_eSrchType = rParam.m_eSrchType;
|
||||||
|
|
||||||
m_bWordOnly = rParam.m_bWordOnly;
|
m_bWordOnly = rParam.m_bWordOnly;
|
||||||
m_bSrchInSel = rParam.m_bSrchInSel;
|
m_bSrchInSel = rParam.m_bSrchInSel;
|
||||||
|
Reference in New Issue
Block a user