summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewmdi.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/uiview/viewmdi.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/uiview/viewmdi.cxx')
-rw-r--r--sw/source/uibase/uiview/viewmdi.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/uibase/uiview/viewmdi.cxx b/sw/source/uibase/uiview/viewmdi.cxx
index 12e6596b2c3b..600ab97a8c56 100644
--- a/sw/source/uibase/uiview/viewmdi.cxx
+++ b/sw/source/uibase/uiview/viewmdi.cxx
@@ -61,11 +61,11 @@ using namespace ::com::sun::star::frame;
void SwView::SetZoom( SvxZoomType eZoomType, short nFactor, bool bViewOnly )
{
- bool const bCrsrIsVisible(m_pWrtShell->IsCrsrVisible());
+ bool const bCursorIsVisible(m_pWrtShell->IsCursorVisible());
_SetZoom( GetEditWin().GetOutputSizePixel(), eZoomType, nFactor, bViewOnly );
// fdo#40465 force the cursor to stay in view whilst zooming
- if (bCrsrIsVisible)
- m_pWrtShell->ShowCrsr();
+ if (bCursorIsVisible)
+ m_pWrtShell->ShowCursor();
}
void SwView::_SetZoom( const Size &rEditSize, SvxZoomType eZoomType,
@@ -329,7 +329,7 @@ IMPL_LINK_TYPED( SwView, MoveNavigationHdl, void*, p, void )
case NID_GRF:
case NID_OLE:
{
- GotoObjFlags eType = GotoObjFlags::FlyFrm;
+ GotoObjFlags eType = GotoObjFlags::FlyFrame;
if(m_nMoveType == NID_GRF)
eType = GotoObjFlags::FlyGrf;
else if(m_nMoveType == NID_OLE)
@@ -339,8 +339,8 @@ IMPL_LINK_TYPED( SwView, MoveNavigationHdl, void*, p, void )
rSh.GotoPrevFly(eType);
if(bSuccess)
{
- rSh.HideCrsr();
- rSh.EnterSelFrmMode();
+ rSh.HideCursor();
+ rSh.EnterSelFrameMode();
}
}
break;
@@ -370,7 +370,7 @@ IMPL_LINK_TYPED( SwView, MoveNavigationHdl, void*, p, void )
bNext ? rSh.GotoNextOutline() : rSh.GotoPrevOutline();
break;
case NID_SEL :
- bNext ? rSh.GoNextCrsr() : rSh.GoPrevCrsr();
+ bNext ? rSh.GoNextCursor() : rSh.GoPrevCursor();
break;
case NID_FTN:
rSh.EnterStdMode();
@@ -381,7 +381,7 @@ IMPL_LINK_TYPED( SwView, MoveNavigationHdl, void*, p, void )
case NID_MARK:
{
// unselect
- rSh.MoveCrsr();
+ rSh.MoveCursor();
rSh.EnterStdMode();
// collect navigator reminders
@@ -434,7 +434,7 @@ IMPL_LINK_TYPED( SwView, MoveNavigationHdl, void*, p, void )
if(m_pSrchItem)
{
bool bBackward = m_pSrchItem->GetBackward();
- if (rSh.HasSelection() && bNext != rSh.IsCrsrPtAtEnd())
+ if (rSh.HasSelection() && bNext != rSh.IsCursorPtAtEnd())
rSh.SwapPam();
m_pSrchItem->SetBackward(!bNext);
SfxRequest aReq(FN_REPEAT_SEARCH, SfxCallMode::SLOT, GetPool());