summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdpdf.cxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-06-06 00:51:10 -0400
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-06-06 00:53:58 -0400
commitdfee8ca7095a293fc58877aa299aaaa4a789392c (patch)
tree271f4836f4e55a577174e880227dce9c9f0084d9 /svx/source/svdraw/svdpdf.cxx
parent5c18e71776c56a034cd8fea677c29997a0c34400 (diff)
vcl: svx: misc improvements to pdfium importingprivate/Ashod/pdfium_on_master_fixed
Change-Id: I58f2fd973a731b148f40b37139cd74bac097a7d2
Diffstat (limited to 'svx/source/svdraw/svdpdf.cxx')
-rw-r--r--svx/source/svdraw/svdpdf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx
index b47a6aadc16c..020141784d13 100644
--- a/svx/source/svdraw/svdpdf.cxx
+++ b/svx/source/svdraw/svdpdf.cxx
@@ -971,7 +971,7 @@ void ImpSdrPdfImport::ImportText(const Point& rPos, const Size& rSize, const OUS
Size aSize(FRound(rSize.Width() * mfScaleX), FRound(rSize.Height() * mfScaleY));
if (eAlg == ALIGN_BASELINE)
- aPos.AdjustY(-(FRound(aFontMetric.GetAscent() * mfScaleY)));
+ aPos.AdjustY(-FRound(aFontMetric.GetAscent() * mfScaleY));
else if (eAlg == ALIGN_BOTTOM)
aPos.AdjustY(-nTextHeight);