svtools/source/control/ruler.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 1bd52dd711cd4a563b08cc682ffa9d02b201e632 Author: László Németh <[email protected]> Date: Fri Sep 11 17:20:29 2015 +0200 tdf#92145: Writer table rows/columns can't be resized with disabled rulers. (This fix was suggested by Tomaž Vajngerl.) (Cherry-picked from the commit ed031895f6f5b361cccc6811b53c6f2b9cfc3e23) Conflicts: svtools/source/control/ruler.cxx Change-Id: I161237cdb4941c0eaf934223b078acd94d72e21d Reviewed-on: https://gerrit.libreoffice.org/18507 Tested-by: Jenkins <[email protected]> Reviewed-by: Tomaž Vajngerl <[email protected]> (cherry picked from commit 00379a83cad8a016c54b3d90fef472a2ca6aeb96) Reviewed-on: https://gerrit.libreoffice.org/18563 Reviewed-by: Jan Holesovsky <[email protected]> Reviewed-by: Adolfo Jayme Barrientos <[email protected]> Reviewed-by: Miklos Vajna <[email protected]> Tested-by: Miklos Vajna <[email protected]> diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index d4b9374..2d4486c 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -2344,6 +2344,12 @@ bool Ruler::StartDocDrag( const MouseEvent& rMEvt, RulerType eDragType ) // update ruler if ( mbFormat ) { + if (!IsReallyVisible()) + { + // set mpData for ImplDocHitTest() + ImplFormat(*this); + } + Invalidate(INVALIDATE_NOERASE); }
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
