Kaydet (Commit) d4497411 authored tarafından Jim Raykowski's avatar Jim Raykowski Kaydeden (comit) Thorsten Behrens

tdf#115329 make navigate by drawing to previous drawing work

Change-Id: I7d93dc3accd7cc092f068524cb567de74a479343
Reviewed-on: https://gerrit.libreoffice.org/50273Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst 6b6a3547
...@@ -1567,7 +1567,7 @@ const SdrObject* SwFEShell::GetBestObject( bool bNext, GotoObjFlags eType, bool ...@@ -1567,7 +1567,7 @@ const SdrObject* SwFEShell::GetBestObject( bool bNext, GotoObjFlags eType, bool
aCurPos = pFly->getFrameArea().Pos(); aCurPos = pFly->getFrameArea().Pos();
} }
else else
aCurPos = pObj->GetCurrentBoundRect().TopLeft(); aCurPos = pObj->GetSnapRect().TopLeft();
// Special case if another object is on same Y. // Special case if another object is on same Y.
if( aCurPos != aPos && // only when it is not me if( aCurPos != aPos && // only when it is not me
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment