summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-08-28 14:28:40 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-09-01 11:41:52 +0000
commit5f387c93e42ba1028e9fc54e10cb0e8c0e1b7a75 (patch)
tree72e2be0d22bcbc4998ced36837be3b7dd47054a7
parentc1db93a0663e9346e165ac58ddeee018f30d35ff (diff)
fdo#67358: sw: "fix" line painting artifacts when resizing columns
SwEditWin::MouseButtonDown(): for unknown reasons invalidating the window here causes the column resizing lines to not be removed after the resize is done, so disable it. (regression from 289185fd02d6d9734b6dbde01f15c4e6c5beacbb) Change-Id: If3ba0a72c53c5c2734fb905ae35d62f6a3e8938b (cherry picked from commit a2c67975c03010b90c706523293f180c1f29e229) Reviewed-on: https://gerrit.libreoffice.org/5663 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/ui/docvw/edtwin.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 37210b24043c..e971d1e0af68 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -2749,7 +2749,9 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
rSh.SetShowHeaderFooterSeparator( Footer, false );
// Repaint everything
- rSh.GetWin()->Invalidate();
+ // FIXME fdo#67358 for unknown reasons this causes painting
+ // problems when resizing table columns, so disable it
+// rSh.GetWin()->Invalidate();
}
}