summaryrefslogtreecommitdiff
path: root/desktop/source/lib/init.cxx
diff options
context:
space:
mode:
authorMert Tumer <mert.tumer@collabora.com>2020-11-15 13:16:53 +0300
committerMert Tumer <mert.tumer@collabora.com>2020-11-15 15:52:18 +0100
commit21aa33dff0fe32bdba5ab67f10c7af0fb64b9c88 (patch)
tree153eb69e0d5196104680a0c9e457a3dbdebc1beb /desktop/source/lib/init.cxx
parentfc5aeeb8d9d44808d18880f6812075830bb5d11c (diff)
Remove Bottom DrawTextFlag on renderFont for Watermark
Alignment should be done for watermark in online side this breaks the positioning. Change-Id: I202f671269aaacd266f6443a5e336d987f680a72 Signed-off-by: Mert Tumer <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105898 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'desktop/source/lib/init.cxx')
-rw-r--r--desktop/source/lib/init.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 0d80378f7c31..a36b4aef2052 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -5353,7 +5353,6 @@ unsigned char* doc_renderFontOrientation(SAL_UNUSED_PARAMETER LibreOfficeKitDocu
DrawTextFlags const nStyle =
DrawTextFlags::Center
| DrawTextFlags::VCenter
- | DrawTextFlags::Bottom
| DrawTextFlags::MultiLine
| DrawTextFlags::WordBreak;// | DrawTextFlags::WordBreakHyphenation ;