From 42fb55556a408866e4725a738c9bb9b73b6963ba Mon Sep 17 00:00:00 2001 From: László Németh Date: Fri, 11 Sep 2015 17:20:29 +0200 Subject: tdf#92145: Writer table rows/columns can't be resized MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Tomaž Vajngerl --- svtools/source/control/ruler.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index d4b9374a51d9..2d4486c1b623 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); } -- cgit