Kaydet (Commit) bcefd5cd authored tarafından Miklos Vajna's avatar Miklos Vajna

SwWrtShell: rename member variables missing their prefixes

Change-Id: I78ae647cca9167e130592fd11b8dd15c512a2353
üst 5e999832
...@@ -94,19 +94,19 @@ private: ...@@ -94,19 +94,19 @@ private:
typedef long (SwWrtShell::*SELECTFUNC)(const Point *, bool bProp ); typedef long (SwWrtShell::*SELECTFUNC)(const Point *, bool bProp );
SELECTFUNC fnDrag; SELECTFUNC m_fnDrag;
SELECTFUNC fnSetCrsr; SELECTFUNC m_fnSetCrsr;
SELECTFUNC fnEndDrag; SELECTFUNC m_fnEndDrag;
SELECTFUNC fnKillSel; SELECTFUNC m_fnKillSel;
public: public:
using SwEditShell::Insert; using SwEditShell::Insert;
long SetCursor (const Point* pPt, bool bProp) { return (this->*fnSetCrsr)(pPt, bProp); } long SetCursor (const Point* pPt, bool bProp) { return (this->*m_fnSetCrsr)(pPt, bProp); }
long Drag (const Point* pPt, bool bProp) { return (this->*fnDrag)(pPt, bProp); } long Drag (const Point* pPt, bool bProp) { return (this->*m_fnDrag)(pPt, bProp); }
long EndDrag (const Point* pPt, bool bProp) { return (this->*fnEndDrag)(pPt, bProp); } long EndDrag (const Point* pPt, bool bProp) { return (this->*m_fnEndDrag)(pPt, bProp); }
long KillSelection(const Point* pPt, bool bProp) { return (this->*fnKillSel)(pPt, bProp); } long KillSelection(const Point* pPt, bool bProp) { return (this->*m_fnKillSel)(pPt, bProp); }
// reset all selections // reset all selections
long ResetSelect( const Point *, bool ); long ResetSelect( const Point *, bool );
...@@ -115,45 +115,45 @@ public: ...@@ -115,45 +115,45 @@ public:
inline void ResetCursorStack(); inline void ResetCursorStack();
SelectionType GetSelectionType() const; SelectionType GetSelectionType() const;
bool IsModePushed() const { return 0 != pModeStack; } bool IsModePushed() const { return 0 != m_pModeStack; }
void PushMode(); void PushMode();
void PopMode(); void PopMode();
void SttSelect(); void SttSelect();
void EndSelect(); void EndSelect();
bool IsInSelect() const { return bInSelect; } bool IsInSelect() const { return m_bInSelect; }
void SetInSelect(bool bSel = true) { bInSelect = bSel; } void SetInSelect(bool bSel = true) { m_bInSelect = bSel; }
// is there a text- or frameselection? // is there a text- or frameselection?
bool HasSelection() const { return SwCrsrShell::HasSelection() || bool HasSelection() const { return SwCrsrShell::HasSelection() ||
IsMultiSelection() || IsSelFrmMode() || IsObjSelected(); } IsMultiSelection() || IsSelFrmMode() || IsObjSelected(); }
bool Pop( bool bOldCrsr = true ); bool Pop( bool bOldCrsr = true );
void EnterStdMode(); void EnterStdMode();
bool IsStdMode() const { return !bExtMode && !bAddMode && !bBlockMode; } bool IsStdMode() const { return !m_bExtMode && !m_bAddMode && !m_bBlockMode; }
void EnterExtMode(); void EnterExtMode();
void LeaveExtMode(); void LeaveExtMode();
bool ToggleExtMode(); bool ToggleExtMode();
bool IsExtMode() const { return bExtMode; } bool IsExtMode() const { return m_bExtMode; }
void EnterAddMode(); void EnterAddMode();
void LeaveAddMode(); void LeaveAddMode();
bool ToggleAddMode(); bool ToggleAddMode();
bool IsAddMode() const { return bAddMode; } bool IsAddMode() const { return m_bAddMode; }
void EnterBlockMode(); void EnterBlockMode();
void LeaveBlockMode(); void LeaveBlockMode();
bool ToggleBlockMode(); bool ToggleBlockMode();
bool IsBlockMode() const { return bBlockMode; } bool IsBlockMode() const { return m_bBlockMode; }
void SetInsMode( bool bOn = true ); void SetInsMode( bool bOn = true );
void ToggleInsMode() { SetInsMode( !bIns ); } void ToggleInsMode() { SetInsMode( !m_bIns ); }
bool IsInsMode() const { return bIns; } bool IsInsMode() const { return m_bIns; }
void SetRedlineModeAndCheckInsMode( sal_uInt16 eMode ); void SetRedlineModeAndCheckInsMode( sal_uInt16 eMode );
void EnterSelFrmMode(const Point *pStartDrag = 0); void EnterSelFrmMode(const Point *pStartDrag = 0);
void LeaveSelFrmMode(); void LeaveSelFrmMode();
bool IsSelFrmMode() const { return bLayoutMode; } bool IsSelFrmMode() const { return m_bLayoutMode; }
// reset selection of frames // reset selection of frames
void UnSelectFrm(); void UnSelectFrm();
...@@ -164,9 +164,9 @@ public: ...@@ -164,9 +164,9 @@ public:
inline void EndSelTblCells(); inline void EndSelTblCells();
// leave per word or per line selection mode. Is usually called in MB-Up. // leave per word or per line selection mode. Is usually called in MB-Up.
bool IsExtSel() const { return bSelWrd || bSelLn; } bool IsExtSel() const { return m_bSelWrd || m_bSelLn; }
// query whether the active fnDrag pointer is set to BeginDrag // query whether the active m_fnDrag pointer is set to BeginDrag
// is needed for MouseMove to work around bugs 55592/55931 // is needed for MouseMove to work around bugs 55592/55931
inline bool Is_FnDragEQBeginDrag() const; inline bool Is_FnDragEQBeginDrag() const;
...@@ -254,8 +254,8 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); ...@@ -254,8 +254,8 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
void NoEdit(bool bHideCrsr = true); void NoEdit(bool bHideCrsr = true);
void Edit(); void Edit();
bool IsRetainSelection() const { return mbRetainSelection; } bool IsRetainSelection() const { return m_bRetainSelection; }
void SetRetainSelection( bool bRet ) { mbRetainSelection = bRet; } void SetRetainSelection( bool bRet ) { m_bRetainSelection = bRet; }
// change current data base and notify // change current data base and notify
void ChgDBData(const SwDBData& SwDBData); void ChgDBData(const SwDBData& SwDBData);
...@@ -412,8 +412,8 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); ...@@ -412,8 +412,8 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
bool SelectNextPrevHyperlink( bool bNext = true ); bool SelectNextPrevHyperlink( bool bNext = true );
// determine corresponding SwView // determine corresponding SwView
const SwView& GetView() const { return rView; } const SwView& GetView() const { return m_rView; }
SwView& GetView() { return rView; } SwView& GetView() { return m_rView; }
// Because nobody else is doing it, here is a ExecMacro() // Because nobody else is doing it, here is a ExecMacro()
void ExecMacro( const SvxMacro& rMacro, OUString* pRet = 0, SbxArray* pArgs = 0 ); void ExecMacro( const SvxMacro& rMacro, OUString* pRet = 0, SbxArray* pArgs = 0 );
...@@ -455,7 +455,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); ...@@ -455,7 +455,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
OUString GetSelDescr() const; OUString GetSelDescr() const;
SwNavigationMgr& GetNavigationMgr() { return aNavigationMgr; } SwNavigationMgr& GetNavigationMgr() { return m_aNavigationMgr; }
void addCurrentPosition(); void addCurrentPosition();
bool GotoFly( const OUString& rName, FlyCntType eType = FLYCNTTYPE_ALL, bool GotoFly( const OUString& rName, FlyCntType eType = FLYCNTTYPE_ALL,
...@@ -493,7 +493,7 @@ private: ...@@ -493,7 +493,7 @@ private:
bExt(_bExt), bExt(_bExt),
bIns(_bIns) bIns(_bIns)
{} {}
} *pModeStack; } *m_pModeStack;
// carry cursor along when PageUp / -Down // carry cursor along when PageUp / -Down
enum PageMove enum PageMove
...@@ -501,7 +501,7 @@ private: ...@@ -501,7 +501,7 @@ private:
MV_NO, MV_NO,
MV_PAGE_UP, MV_PAGE_UP,
MV_PAGE_DOWN MV_PAGE_DOWN
} ePageMove; } m_ePageMove;
struct CrsrStack struct CrsrStack
{ {
...@@ -522,14 +522,14 @@ private: ...@@ -522,14 +522,14 @@ private:
} }
} *pCrsrStack; } *m_pCrsrStack;
SwView &rView; SwView &m_rView;
SwNavigationMgr aNavigationMgr; SwNavigationMgr m_aNavigationMgr;
Point aDest; Point m_aDest;
bool bDestOnStack; bool m_bDestOnStack;
bool HasCrsrStack() const { return 0 != pCrsrStack; } bool HasCrsrStack() const { return 0 != m_pCrsrStack; }
SAL_DLLPRIVATE bool PushCrsr(SwTwips lOffset, bool bSelect); SAL_DLLPRIVATE bool PushCrsr(SwTwips lOffset, bool bSelect);
SAL_DLLPRIVATE bool PopCrsr(bool bUpdate, bool bSelect = false); SAL_DLLPRIVATE bool PopCrsr(bool bUpdate, bool bSelect = false);
...@@ -547,21 +547,21 @@ private: ...@@ -547,21 +547,21 @@ private:
SAL_DLLPRIVATE bool _BwdPara(); SAL_DLLPRIVATE bool _BwdPara();
// selections // selections
bool bIns :1; bool m_bIns :1;
bool bInSelect :1; bool m_bInSelect :1;
bool bExtMode :1; bool m_bExtMode :1;
bool bAddMode :1; bool m_bAddMode :1;
bool bBlockMode :1; bool m_bBlockMode :1;
bool bLayoutMode :1; bool m_bLayoutMode :1;
bool bCopy :1; bool m_bCopy :1;
bool bSelWrd :1; bool m_bSelWrd :1;
bool bSelLn :1; bool m_bSelLn :1;
bool bIsInClickToEdit:1; bool m_bIsInClickToEdit:1;
bool bClearMark :1; // don't delete selection for ChartAutoPilot bool m_bClearMark :1; // don't delete selection for ChartAutoPilot
bool mbRetainSelection :1; // Do not remove selections bool m_bRetainSelection :1; // Do not remove selections
Point aStart; Point m_aStart;
Link aSelTblLink; Link m_aSelTblLink;
// resets the cursor stack after movement by PageUp/-Down // resets the cursor stack after movement by PageUp/-Down
SAL_DLLPRIVATE void _ResetCursorStack(); SAL_DLLPRIVATE void _ResetCursorStack();
...@@ -593,7 +593,7 @@ private: ...@@ -593,7 +593,7 @@ private:
SAL_DLLPRIVATE long AddLeaveSelect(const Point *, bool bProp=false ); SAL_DLLPRIVATE long AddLeaveSelect(const Point *, bool bProp=false );
SAL_DLLPRIVATE long Ignore(const Point *, bool bProp=false ); SAL_DLLPRIVATE long Ignore(const Point *, bool bProp=false );
SAL_DLLPRIVATE void LeaveExtSel() { bSelWrd = bSelLn = false;} SAL_DLLPRIVATE void LeaveExtSel() { m_bSelWrd = m_bSelLn = false;}
SAL_DLLPRIVATE bool GoStart(bool KeepArea = false, bool * = 0, SAL_DLLPRIVATE bool GoStart(bool KeepArea = false, bool * = 0,
bool bSelect = false, bool bDontMoveRegion = false); bool bSelect = false, bool bDontMoveRegion = false);
...@@ -619,24 +619,24 @@ inline void SwWrtShell::ResetCursorStack() ...@@ -619,24 +619,24 @@ inline void SwWrtShell::ResetCursorStack()
inline void SwWrtShell::SelTblCells(const Link &rLink, bool bMark ) inline void SwWrtShell::SelTblCells(const Link &rLink, bool bMark )
{ {
SetSelTblCells( true ); SetSelTblCells( true );
bClearMark = bMark; m_bClearMark = bMark;
aSelTblLink = rLink; m_aSelTblLink = rLink;
} }
inline void SwWrtShell::EndSelTblCells() inline void SwWrtShell::EndSelTblCells()
{ {
SetSelTblCells( false ); SetSelTblCells( false );
bClearMark = true; m_bClearMark = true;
} }
inline bool SwWrtShell::IsInClickToEdit() const { return bIsInClickToEdit; } inline bool SwWrtShell::IsInClickToEdit() const { return m_bIsInClickToEdit; }
inline bool SwWrtShell::Is_FnDragEQBeginDrag() const inline bool SwWrtShell::Is_FnDragEQBeginDrag() const
{ {
#ifdef __GNUC__ #ifdef __GNUC__
SELECTFUNC fnTmp = &SwWrtShell::BeginDrag; SELECTFUNC fnTmp = &SwWrtShell::BeginDrag;
return fnDrag == fnTmp; return m_fnDrag == fnTmp;
#else #else
return fnDrag == &SwWrtShell::BeginDrag; return m_fnDrag == &SwWrtShell::BeginDrag;
#endif #endif
} }
......
This diff is collapsed.
...@@ -109,30 +109,30 @@ using namespace sw::mark; ...@@ -109,30 +109,30 @@ using namespace sw::mark;
using namespace com::sun::star; using namespace com::sun::star;
#define COMMON_INI_LIST \ #define COMMON_INI_LIST \
fnDrag(&SwWrtShell::BeginDrag),\ m_fnDrag(&SwWrtShell::BeginDrag),\
fnSetCrsr(&SwWrtShell::SetCrsr),\ m_fnSetCrsr(&SwWrtShell::SetCrsr),\
fnEndDrag(&SwWrtShell::DefaultEndDrag),\ m_fnEndDrag(&SwWrtShell::DefaultEndDrag),\
fnKillSel(&SwWrtShell::Ignore),\ m_fnKillSel(&SwWrtShell::Ignore),\
pModeStack(0), \ m_pModeStack(0), \
ePageMove(MV_NO),\ m_ePageMove(MV_NO),\
pCrsrStack(0), \ m_pCrsrStack(0), \
rView(rShell),\ m_rView(rShell),\
aNavigationMgr(*this), \ m_aNavigationMgr(*this), \
bDestOnStack(false) m_bDestOnStack(false)
#define BITFLD_INI_LIST \ #define BITFLD_INI_LIST \
bClearMark = \ m_bClearMark = \
bIns = true;\ m_bIns = true;\
bAddMode = \ m_bAddMode = \
bBlockMode = \ m_bBlockMode = \
bExtMode = \ m_bExtMode = \
bInSelect = \ m_bInSelect = \
bCopy = \ m_bCopy = \
bLayoutMode = \ m_bLayoutMode = \
bSelWrd = \ m_bSelWrd = \
bSelLn = \ m_bSelLn = \
mbRetainSelection = false; \ m_bRetainSelection = false; \
bIsInClickToEdit = false; m_bIsInClickToEdit = false;
static SvxAutoCorrect* lcl_IsAutoCorr() static SvxAutoCorrect* lcl_IsAutoCorr()
{ {
...@@ -196,10 +196,10 @@ void SwWrtShell::Insert( const OUString &rStr ) ...@@ -196,10 +196,10 @@ void SwWrtShell::Insert( const OUString &rStr )
bool bStarted = false; bool bStarted = false;
bool bHasSel = HasSelection(), bool bHasSel = HasSelection(),
bCallIns = bIns /*|| bHasSel*/; bCallIns = m_bIns /*|| bHasSel*/;
bool bDeleted = false; bool bDeleted = false;
if( bHasSel || ( !bIns && SelectHiddenRange() ) ) if( bHasSel || ( !m_bIns && SelectHiddenRange() ) )
{ {
// Only here parenthesizing, because the normal // Only here parenthesizing, because the normal
// insert is already in parentheses at Editshell. // insert is already in parentheses at Editshell.
...@@ -935,7 +935,7 @@ void SwWrtShell::InsertFootnote(const OUString &rStr, bool bEndNote, bool bEdit ...@@ -935,7 +935,7 @@ void SwWrtShell::InsertFootnote(const OUString &rStr, bool bEndNote, bool bEdit
Left(CRSR_SKIP_CHARS, false, 1, false ); Left(CRSR_SKIP_CHARS, false, 1, false );
GotoFtnTxt(); GotoFtnTxt();
} }
aNavigationMgr.addEntry(aPos); m_aNavigationMgr.addEntry(aPos);
} }
} }
...@@ -950,7 +950,7 @@ void SwWrtShell::SplitNode( bool bAutoFmt, bool bCheckTableStart ) ...@@ -950,7 +950,7 @@ void SwWrtShell::SplitNode( bool bAutoFmt, bool bCheckTableStart )
{ {
SwActContext aActContext(this); SwActContext aActContext(this);
rView.GetEditWin().FlushInBuffer(); m_rView.GetEditWin().FlushInBuffer();
bool bHasSel = HasSelection(); bool bHasSel = HasSelection();
if( bHasSel ) if( bHasSel )
{ {
...@@ -1493,7 +1493,7 @@ SwFrmFmt *SwWrtShell::GetTblStyle(const OUString &rFmtName) ...@@ -1493,7 +1493,7 @@ SwFrmFmt *SwWrtShell::GetTblStyle(const OUString &rFmtName)
void SwWrtShell::addCurrentPosition() { void SwWrtShell::addCurrentPosition() {
SwPaM* pPaM = GetCrsr(); SwPaM* pPaM = GetCrsr();
aNavigationMgr.addEntry(*pPaM->GetPoint()); m_aNavigationMgr.addEntry(*pPaM->GetPoint());
} }
// Applying templates // Applying templates
...@@ -1658,8 +1658,8 @@ bool SwWrtShell::Pop( bool bOldCrsr ) ...@@ -1658,8 +1658,8 @@ bool SwWrtShell::Pop( bool bOldCrsr )
bool bRet = SwCrsrShell::Pop( bOldCrsr ); bool bRet = SwCrsrShell::Pop( bOldCrsr );
if( bRet && IsSelection() ) if( bRet && IsSelection() )
{ {
fnSetCrsr = &SwWrtShell::SetCrsrKillSel; m_fnSetCrsr = &SwWrtShell::SetCrsrKillSel;
fnKillSel = &SwWrtShell::ResetSelect; m_fnKillSel = &SwWrtShell::ResetSelect;
} }
return bRet; return bRet;
} }
......
...@@ -326,7 +326,7 @@ void SwWrtShell::ClickToField( const SwField& rFld ) ...@@ -326,7 +326,7 @@ void SwWrtShell::ClickToField( const SwField& rFld )
EndAllAction(); EndAllAction();
} }
bIsInClickToEdit = true; m_bIsInClickToEdit = true;
switch( rFld.GetTyp()->Which() ) switch( rFld.GetTyp()->Which() )
{ {
case RES_JUMPEDITFLD: case RES_JUMPEDITFLD:
...@@ -406,7 +406,7 @@ void SwWrtShell::ClickToField( const SwField& rFld ) ...@@ -406,7 +406,7 @@ void SwWrtShell::ClickToField( const SwField& rFld )
SAL_WARN_IF(rFld.IsClickable(), "sw", "unhandled clickable field!"); SAL_WARN_IF(rFld.IsClickable(), "sw", "unhandled clickable field!");
} }
bIsInClickToEdit = false; m_bIsInClickToEdit = false;
} }
void SwWrtShell::ClickToINetAttr( const SwFmtINetFmt& rItem, sal_uInt16 nFilter ) void SwWrtShell::ClickToINetAttr( const SwFmtINetFmt& rItem, sal_uInt16 nFilter )
...@@ -414,7 +414,7 @@ void SwWrtShell::ClickToINetAttr( const SwFmtINetFmt& rItem, sal_uInt16 nFilter ...@@ -414,7 +414,7 @@ void SwWrtShell::ClickToINetAttr( const SwFmtINetFmt& rItem, sal_uInt16 nFilter
if( rItem.GetValue().isEmpty() ) if( rItem.GetValue().isEmpty() )
return ; return ;
bIsInClickToEdit = true; m_bIsInClickToEdit = true;
// At first run the possibly set ObjectSelect Macro // At first run the possibly set ObjectSelect Macro
const SvxMacro* pMac = rItem.GetMacro( SFX_EVENT_MOUSECLICK_OBJECT ); const SvxMacro* pMac = rItem.GetMacro( SFX_EVENT_MOUSECLICK_OBJECT );
...@@ -434,7 +434,7 @@ void SwWrtShell::ClickToINetAttr( const SwFmtINetFmt& rItem, sal_uInt16 nFilter ...@@ -434,7 +434,7 @@ void SwWrtShell::ClickToINetAttr( const SwFmtINetFmt& rItem, sal_uInt16 nFilter
const_cast<SwTxtINetFmt*>(pTxtAttr)->SetVisitedValid( true ); const_cast<SwTxtINetFmt*>(pTxtAttr)->SetVisitedValid( true );
} }
bIsInClickToEdit = false; m_bIsInClickToEdit = false;
} }
bool SwWrtShell::ClickToINetGrf( const Point& rDocPt, sal_uInt16 nFilter ) bool SwWrtShell::ClickToINetGrf( const Point& rDocPt, sal_uInt16 nFilter )
......
...@@ -43,7 +43,7 @@ extern bool g_bNoInterrupt; // in swmodule.cxx ...@@ -43,7 +43,7 @@ extern bool g_bNoInterrupt; // in swmodule.cxx
bool SwWrtShell::MoveBookMark( BookMarkMove eFuncId, const ::sw::mark::IMark* const pMark) bool SwWrtShell::MoveBookMark( BookMarkMove eFuncId, const ::sw::mark::IMark* const pMark)
{ {
addCurrentPosition(); addCurrentPosition();
(this->*fnKillSel)( 0, false ); (this->*m_fnKillSel)( 0, false );
bool bRet = true; bool bRet = true;
switch(eFuncId) switch(eFuncId)
...@@ -61,15 +61,15 @@ bool SwWrtShell::MoveBookMark( BookMarkMove eFuncId, const ::sw::mark::IMark* co ...@@ -61,15 +61,15 @@ bool SwWrtShell::MoveBookMark( BookMarkMove eFuncId, const ::sw::mark::IMark* co
} }
if( IsSelection() ) if( IsSelection() )
{ {
fnKillSel = &SwWrtShell::ResetSelect; m_fnKillSel = &SwWrtShell::ResetSelect;
fnSetCrsr = &SwWrtShell::SetCrsrKillSel; m_fnSetCrsr = &SwWrtShell::SetCrsrKillSel;
} }
return bRet; return bRet;
} }
bool SwWrtShell::GotoField( const SwFmtFld& rFld ) bool SwWrtShell::GotoField( const SwFmtFld& rFld )
{ {
(this->*fnKillSel)( 0, false ); (this->*m_fnKillSel)( 0, false );
bool bRet = SwCrsrShell::GotoFld( rFld ); bool bRet = SwCrsrShell::GotoFld( rFld );
if( bRet && IsSelFrmMode() ) if( bRet && IsSelFrmMode() )
...@@ -80,8 +80,8 @@ bool SwWrtShell::GotoField( const SwFmtFld& rFld ) ...@@ -80,8 +80,8 @@ bool SwWrtShell::GotoField( const SwFmtFld& rFld )
if( IsSelection() ) if( IsSelection() )
{ {
fnKillSel = &SwWrtShell::ResetSelect; m_fnKillSel = &SwWrtShell::ResetSelect;
fnSetCrsr = &SwWrtShell::SetCrsrKillSel; m_fnSetCrsr = &SwWrtShell::SetCrsrKillSel;
} }
return bRet; return bRet;
...@@ -89,7 +89,7 @@ bool SwWrtShell::GotoField( const SwFmtFld& rFld ) ...@@ -89,7 +89,7 @@ bool SwWrtShell::GotoField( const SwFmtFld& rFld )
bool SwWrtShell::GotoFieldmark(::sw::mark::IFieldmark const * const pMark) bool SwWrtShell::GotoFieldmark(::sw::mark::IFieldmark const * const pMark)
{ {
(this->*fnKillSel)( 0, false ); (this->*m_fnKillSel)( 0, false );
bool bRet = SwCrsrShell::GotoFieldmark(pMark); bool bRet = SwCrsrShell::GotoFieldmark(pMark);
if( bRet && IsSelFrmMode() ) if( bRet && IsSelFrmMode() )
{ {
...@@ -98,8 +98,8 @@ bool SwWrtShell::GotoFieldmark(::sw::mark::IFieldmark const * const pMark) ...@@ -98,8 +98,8 @@ bool SwWrtShell::GotoFieldmark(::sw::mark::IFieldmark const * const pMark)
} }
if( IsSelection() ) if( IsSelection() )
{ {
fnKillSel = &SwWrtShell::ResetSelect; m_fnKillSel = &SwWrtShell::ResetSelect;
fnSetCrsr = &SwWrtShell::SetCrsrKillSel; m_fnSetCrsr = &SwWrtShell::SetCrsrKillSel;
} }
return bRet; return bRet;
} }
......
...@@ -70,8 +70,8 @@ void SwWrtShell::Do( DoType eDoType, sal_uInt16 nCnt ) ...@@ -70,8 +70,8 @@ void SwWrtShell::Do( DoType eDoType, sal_uInt16 nCnt )
// Set the function pointer for canceling the selection at the // Set the function pointer for canceling the selection at the
// cursor position. // cursor position.
fnKillSel = &SwWrtShell::ResetSelect; m_fnKillSel = &SwWrtShell::ResetSelect;
fnSetCrsr = &SwWrtShell::SetCrsrKillSel; m_fnSetCrsr = &SwWrtShell::SetCrsrKillSel;
bCreateXSelection = true; bCreateXSelection = true;
} }
else if ( bFrmSelected ) else if ( bFrmSelected )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment