summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-12-10 12:45:44 +0900
committerAndras Timar <andras.timar@collabora.com>2014-12-13 16:01:12 +0100
commit3edc618c705c358b0c093f3fecc6d3944299186d (patch)
tree55608c695134d93d369d45e82dea3c4586233f37 /sw
parentff315a6e7cc7ccdf88a2281277c897aeaddaa634 (diff)
fdo#75137: Can't Move Cursor Between Footnotes with Up/Down Arrow Keys
This fixes a regression introduced at 43941d9a5313fcd7fe39a61bd2eace64f7743486. Change-Id: If73883569049f0f3ae8a2d40f6704f74e63eecb2 Reviewed-on: https://gerrit.libreoffice.org/13401 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit dad173d9588e6abc2a465198b7d2881d4629246a) Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/swcrsr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx
index 3233cd0a6328..d2978104cb38 100644
--- a/sw/source/core/crsr/swcrsr.cxx
+++ b/sw/source/core/crsr/swcrsr.cxx
@@ -1788,7 +1788,7 @@ bool SwCursor::UpDown( bool bUp, sal_uInt16 nCnt,
}
// It is allowed to move footnotes in other footnotes but not sections
- const bool bChkRange = pFrm->IsInFtn() && !HasMark();
+ const bool bChkRange = !pFrm->IsInFtn() || HasMark();
const SwPosition aOldPos( *GetPoint() );
const bool bInReadOnly = IsReadOnlyAvailable();