summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-12-10 12:45:44 +0900
committerMichael Stahl <mstahl@redhat.com>2014-12-10 22:51:21 +0100
commitf25212197b7862575f8427f4a9c0b999ee6d5fd4 (patch)
treecb0bcf29dc1336c0f3e41939443dca871a9df082
parentf3d87a8b0384cf35f7f5d9b7a20b9345eeaaea35 (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>
-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 071d51b368a4..7f89c5ec5ae0 100644
--- a/sw/source/core/crsr/swcrsr.cxx
+++ b/sw/source/core/crsr/swcrsr.cxx
@@ -1793,7 +1793,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();