summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2019-06-07 17:18:52 +0200
committerTamás Zolnai <tamas.zolnai@collabora.com>2019-07-12 02:05:47 +0200
commita9ce5e5fc5188a0c776ba4cff9d5ac84a2bcd7a5 (patch)
tree2d6f55893c1505e67bc4b50a1730e65b4ce78d5b /sw
parent870c66694e7ed392141f0956ef74d1f71cdf8975 (diff)
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@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/DropDownFormFieldButton.cxx2
1 files changed, 1 insertions, 1 deletions
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);