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

Mert Tumer (via logerrit) logerrit at kemper.freedesktop.org
Sun Nov 15 16:37:28 UTC 2020


 desktop/source/lib/init.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 49b800000617171a348437e62948e128b6b2b8bf
Author:     Mert Tumer <mert.tumer at collabora.com>
AuthorDate: Sun Nov 15 13:16:53 2020 +0300
Commit:     Mert Tumer <mert.tumer at collabora.com>
CommitDate: Sun Nov 15 17:36:49 2020 +0100

    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 at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105853
    Tested-by: Jenkins

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 ;
 


More information about the Libreoffice-commits mailing list