[Libreoffice-commits] core.git: sw/source

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Fri Jul 12 00:10:39 UTC 2019


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

New commits:
commit a9ce5e5fc5188a0c776ba4cff9d5ac84a2bcd7a5
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: Fri Jul 12 02:05:47 2019 +0200

    MSForms: Better rendering of drop-down form field's button
    
    Change-Id: If5ab1b2a9dd8d68cc89b4c6ba8f3b32d7f006c1c
    Reviewed-on: https://gerrit.libreoffice.org/75441
    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