vcl/source/control/fixed.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 396d77ac0d7e7fa8ca6d9f3fc3846b835905427a
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Aug 1 10:10:16 2018 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Aug 1 12:46:18 2018 +0200

    Resolves: rhbz#1610692 rectangles ctor takes topleft, bottomright points
    
    so pass arguments in the topleft, bottomright order to avoid eventual...
    
    Gtk-CRITICAL **: 09:43:33.896: gtk_widget_queue_draw_area: assertion 
'height >= 0' failed
    
    Change-Id: I2396f49470274331c49275a5e6d707f59277be4a
    Reviewed-on: https://gerrit.libreoffice.org/58391
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index 74fb8c407250..b22a779ce0a9 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -532,11 +532,11 @@ void FixedLine::ImplDraw(vcl::RenderContext& 
rRenderContext)
         rRenderContext.DrawText(aTextPt, aText, 0, aText.getLength());
         rRenderContext.Pop();
         if (aOutSize.Height() - aStartPt.Y() > FIXEDLINE_TEXT_BORDER)
-            aDecoView.DrawSeparator(Point(aStartPt.X(), aOutSize.Height() - 1),
-                                    Point(aStartPt.X(), aStartPt.Y() + 
FIXEDLINE_TEXT_BORDER));
+            aDecoView.DrawSeparator(Point(aStartPt.X(), aStartPt.Y() + 
FIXEDLINE_TEXT_BORDER),
+                                    Point(aStartPt.X(), aOutSize.Height() - 
1));
         if (aStartPt.Y() - nWidth - FIXEDLINE_TEXT_BORDER > 0)
-            aDecoView.DrawSeparator(Point(aStartPt.X(), aStartPt.Y() - nWidth 
- FIXEDLINE_TEXT_BORDER),
-                                    Point(aStartPt.X(), 0));
+            aDecoView.DrawSeparator(Point(aStartPt.X(), 0),
+                                    Point(aStartPt.X(), aStartPt.Y() - nWidth 
- FIXEDLINE_TEXT_BORDER));
     }
     else
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to