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

Takeshi Abe tabe at fixedpoint.jp
Thu Jun 4 12:31:01 PDT 2015


 sw/source/core/frmedt/feshview.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2d3517d8532702386dddde1215737fe29719c2c3
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Thu Jun 4 21:52:14 2015 +0900

    Fix a regression introduced at 3d30077af27c8a6e91fb91175e6d2ea9a6f03d11
    
    Change-Id: I245bff2ac179381b7eef7c276bbade15b0a57938
    Reviewed-on: https://gerrit.libreoffice.org/16082
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx
index 87661a8..4b46bfc 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -1271,8 +1271,8 @@ const SdrObject* SwFEShell::GetBestObject( bool bNext, GotoObjFlags eType, bool
     Point aTopPos(  nTmp, nTmp );
     Point aCurPos;
     Point aPos;
-    bool bNoDraw(GotoObjFlags::DrawAny & eType);
-    bool bNoFly(GotoObjFlags::FlyAny & eType);
+    bool bNoDraw((GotoObjFlags::DrawAny & eType) == GotoObjFlags::NONE);
+    bool bNoFly((GotoObjFlags::FlyAny & eType) == GotoObjFlags::NONE);
 
     if( !bNoFly && bNoDraw )
     {


More information about the Libreoffice-commits mailing list