summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-02-23 23:36:00 -0900
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-02-25 23:26:34 +0100
commitd4497411ea6db421a90cc950efe6e1bec4aebc0a (patch)
treeaa3100bc9367dc4eafba28eb95ae04a3860ee0fe
parent6b6a3547990eede6a2213b5a82bedd88a919563f (diff)
tdf#115329 make navigate by drawing to previous drawing work
Change-Id: I7d93dc3accd7cc092f068524cb567de74a479343 Reviewed-on: https://gerrit.libreoffice.org/50273 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
-rw-r--r--sw/source/core/frmedt/feshview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx
index 3e88e65bb0db..abdecbf05016 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -1567,7 +1567,7 @@ const SdrObject* SwFEShell::GetBestObject( bool bNext, GotoObjFlags eType, bool
aCurPos = pFly->getFrameArea().Pos();
}
else
- aCurPos = pObj->GetCurrentBoundRect().TopLeft();
+ aCurPos = pObj->GetSnapRect().TopLeft();
// Special case if another object is on same Y.
if( aCurPos != aPos && // only when it is not me