[Libreoffice-commits] core.git: sw/source

Takeshi Abe tabe at fixedpoint.jp
Wed Dec 10 13:53:18 PST 2014


 sw/source/core/crsr/swcrsr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dad173d9588e6abc2a465198b7d2881d4629246a
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Wed Dec 10 12:45:44 2014 +0900

    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 at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx
index d0f0005..ce67b7e 100644
--- a/sw/source/core/crsr/swcrsr.cxx
+++ b/sw/source/core/crsr/swcrsr.cxx
@@ -1792,7 +1792,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();
 


More information about the Libreoffice-commits mailing list