summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh/wrtsh3.cxx
diff options
context:
space:
mode:
authorRobinson Tryon <qubit@runcibility.com>2015-11-25 06:03:10 -0500
committerRobinson Tryon <qubit@runcibility.com>2015-11-25 06:07:38 -0500
commit49c2b9808df8a6b197dec666dfc0cda6321a4306 (patch)
tree045ef4b9b8dfdb06bfbe18cdf773d59f57d5552d /sw/source/uibase/wrtsh/wrtsh3.cxx
parent5470a365f25e5052b4dd74f76aa2196f0d70934b (diff)
bin/rename-sw-abbreviations.sh libreoffice-5-1-branch-point
This commit renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
Diffstat (limited to 'sw/source/uibase/wrtsh/wrtsh3.cxx')
-rw-r--r--sw/source/uibase/wrtsh/wrtsh3.cxx34
1 files changed, 17 insertions, 17 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh3.cxx b/sw/source/uibase/wrtsh/wrtsh3.cxx
index 12665242cbc1..49eb3c51c377 100644
--- a/sw/source/uibase/wrtsh/wrtsh3.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh3.cxx
@@ -48,21 +48,21 @@ bool SwWrtShell::MoveBookMark( BookMarkMove eFuncId, const ::sw::mark::IMark* co
bool bRet = true;
switch(eFuncId)
{
- case BOOKMARK_INDEX:bRet = SwCrsrShell::GotoMark( pMark );break;
- case BOOKMARK_NEXT: bRet = SwCrsrShell::GoNextBookmark();break;
- case BOOKMARK_PREV: bRet = SwCrsrShell::GoPrevBookmark();break;
+ case BOOKMARK_INDEX:bRet = SwCursorShell::GotoMark( pMark );break;
+ case BOOKMARK_NEXT: bRet = SwCursorShell::GoNextBookmark();break;
+ case BOOKMARK_PREV: bRet = SwCursorShell::GoPrevBookmark();break;
default:;//prevent warning
}
- if( bRet && IsSelFrmMode() )
+ if( bRet && IsSelFrameMode() )
{
- UnSelectFrm();
- LeaveSelFrmMode();
+ UnSelectFrame();
+ LeaveSelFrameMode();
}
if( IsSelection() )
{
m_fnKillSel = &SwWrtShell::ResetSelect;
- m_fnSetCrsr = &SwWrtShell::SetCrsrKillSel;
+ m_fnSetCursor = &SwWrtShell::SetCursorKillSel;
}
return bRet;
}
@@ -71,17 +71,17 @@ bool SwWrtShell::GotoField( const SwFormatField& rField )
{
(this->*m_fnKillSel)( nullptr, false );
- bool bRet = SwCrsrShell::GotoFormatField( rField );
- if( bRet && IsSelFrmMode() )
+ bool bRet = SwCursorShell::GotoFormatField( rField );
+ if( bRet && IsSelFrameMode() )
{
- UnSelectFrm();
- LeaveSelFrmMode();
+ UnSelectFrame();
+ LeaveSelFrameMode();
}
if( IsSelection() )
{
m_fnKillSel = &SwWrtShell::ResetSelect;
- m_fnSetCrsr = &SwWrtShell::SetCrsrKillSel;
+ m_fnSetCursor = &SwWrtShell::SetCursorKillSel;
}
return bRet;
@@ -90,16 +90,16 @@ bool SwWrtShell::GotoField( const SwFormatField& rField )
bool SwWrtShell::GotoFieldmark(::sw::mark::IFieldmark const * const pMark)
{
(this->*m_fnKillSel)( nullptr, false );
- bool bRet = SwCrsrShell::GotoFieldmark(pMark);
- if( bRet && IsSelFrmMode() )
+ bool bRet = SwCursorShell::GotoFieldmark(pMark);
+ if( bRet && IsSelFrameMode() )
{
- UnSelectFrm();
- LeaveSelFrmMode();
+ UnSelectFrame();
+ LeaveSelFrameMode();
}
if( IsSelection() )
{
m_fnKillSel = &SwWrtShell::ResetSelect;
- m_fnSetCrsr = &SwWrtShell::SetCrsrKillSel;
+ m_fnSetCursor = &SwWrtShell::SetCursorKillSel;
}
return bRet;
}