Kaydet (Commit) ed031895 authored tarafından László Németh's avatar László Németh

tdf#92145: Writer table rows/columns can't be resized

with disabled rulers. (This fix was suggested by Tomaž Vajngerl.)

Change-Id: I161237cdb4941c0eaf934223b078acd94d72e21d
üst b43e0335
...@@ -2338,6 +2338,12 @@ bool Ruler::StartDocDrag( const MouseEvent& rMEvt, RulerType eDragType ) ...@@ -2338,6 +2338,12 @@ bool Ruler::StartDocDrag( const MouseEvent& rMEvt, RulerType eDragType )
// update ruler // update ruler
if ( mbFormat ) if ( mbFormat )
{ {
if (!IsReallyVisible())
{
// set mpData for ImplDocHitTest()
ImplFormat(*this);
}
Invalidate(InvalidateFlags::NoErase); Invalidate(InvalidateFlags::NoErase);
} }
......
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