From 49b800000617171a348437e62948e128b6b2b8bf Mon Sep 17 00:00:00 2001 From: Mert Tumer Date: Sun, 15 Nov 2020 13:16:53 +0300 Subject: 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 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105853 Tested-by: Jenkins --- desktop/source/lib/init.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index b31d68dc5391..8f82d577f3cc 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -5322,7 +5322,6 @@ unsigned char* doc_renderFontOrientation(SAL_UNUSED_PARAMETER LibreOfficeKitDocu DrawTextFlags const nStyle = DrawTextFlags::Center | DrawTextFlags::VCenter - | DrawTextFlags::Bottom | DrawTextFlags::MultiLine | DrawTextFlags::WordBreak;// | DrawTextFlags::WordBreakHyphenation ; -- cgit