[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - sw/source

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Sat Jun 29 21:54:57 UTC 2019


 sw/source/core/crsr/DropDownFormFieldButton.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 25457943c49dcb677ef7df708fc6755ece229308
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Jun 7 17:18:52 2019 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Sat Jun 29 23:54:07 2019 +0200

    MSForms: Better rendering of drop down form field's button
    
    Change-Id: If5ab1b2a9dd8d68cc89b4c6ba8f3b32d7f006c1c
    Reviewed-on: https://gerrit.libreoffice.org/74913
    Tested-by: Jenkins
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/sw/source/core/crsr/DropDownFormFieldButton.cxx b/sw/source/core/crsr/DropDownFormFieldButton.cxx
index dca183199b9a..158751fe308d 100644
--- a/sw/source/core/crsr/DropDownFormFieldButton.cxx
+++ b/sw/source/core/crsr/DropDownFormFieldButton.cxx
@@ -206,7 +206,7 @@ void DropDownFormFieldButton::Paint(vcl::RenderContext& rRenderContext, const to
     int nPadding = 1;
     Point aPos(nPadding, nPadding);
     Size aSize(m_aFieldFramePixel.GetSize().Width() - nPadding,
-               m_aFieldFramePixel.GetSize().Height() - 2 * nPadding);
+               m_aFieldFramePixel.GetSize().Height() - nPadding);
     const tools::Rectangle aFrameRect(tools::Rectangle(aPos, aSize));
     rRenderContext.SetLineColor(aLineColor);
     rRenderContext.SetFillColor(COL_TRANSPARENT);


More information about the Libreoffice-commits mailing list