diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-02-25 22:21:52 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-26 13:09:41 +0100 |
commit | c4727a06fe16ed88f2c293aaa3506df8e6523678 (patch) | |
tree | 70062c1264179457a2b880c895ab5c292b21071e /sw/source/uibase/uiview | |
parent | bf250abe262a25e6508a6dd0c0b7f3275d93e216 (diff) |
sw: we don't have space to spell out "focus" in ShLooseFcs...
...but we *do* have the space to mis-spell "lose".
Change-Id: I0cb55d616dfee614e82975b7b3c25a0dcc37d0d7
Diffstat (limited to 'sw/source/uibase/uiview')
-rw-r--r-- | sw/source/uibase/uiview/view1.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/uiview/view2.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/uiview/view1.cxx b/sw/source/uibase/uiview/view1.cxx index 3f9b047da6a7..a65e31d7f966 100644 --- a/sw/source/uibase/uiview/view1.cxx +++ b/sw/source/uibase/uiview/view1.cxx @@ -71,7 +71,7 @@ void SwView::Activate(bool bMDIActivate) if ( bMDIActivate ) { - m_pWrtShell->ShGetFcs(false); // Selections visible + m_pWrtShell->ShellGetFocus(false); // Selections visible if( !m_sSwViewData.isEmpty() ) { @@ -123,7 +123,7 @@ void SwView::Deactivate(bool bMDIActivate) if( bMDIActivate ) { - m_pWrtShell->ShLooseFcs(); // Selections invisible + m_pWrtShell->ShellLoseFocus(); // Selections invisible m_pHRuler->SetActive( false ); m_pVRuler->SetActive( false ); diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx index 075802f97d52..84f06ec923f3 100644 --- a/sw/source/uibase/uiview/view2.cxx +++ b/sw/source/uibase/uiview/view2.cxx @@ -1925,9 +1925,9 @@ bool SwView::JumpToSwMark( const OUString& rMark ) SetCursorAtTop( true ); // For scrolling the FrameSet, the corresponding shell needs to have the focus. - bool bHasShFocus = m_pWrtShell->HasShFcs(); + bool bHasShFocus = m_pWrtShell->HasShellFocus(); if( !bHasShFocus ) - m_pWrtShell->ShGetFcs( false ); + m_pWrtShell->ShellGetFocus( false ); const SwFormatINetFormat* pINet; OUString sCmp; @@ -2047,7 +2047,7 @@ bool SwView::JumpToSwMark( const OUString& rMark ) SetCursorAtTop( bSaveCT, bSaveCC ); if( !bHasShFocus ) - m_pWrtShell->ShLooseFcs(); + m_pWrtShell->ShellLoseFocus(); } return bRet; } |