vcl/inc/quartz/salgdi.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9118d4d21bcbae6a9f2ca373b528939a60992903
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Jun 6 10:06:08 2019 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Jun 6 17:03:03 2019 +0200

    CoreTextStyle::mbFauxBold shall presumably be bool
    
    ...it was added as float with eb5606511fac2a8ee1af7cc03c12d6c5b16f7c96
    "tdf#101854 Move to CommonSalLayout removed faux bold in macos", but that 
causes
    loplugin:implicitboolconversion warnings, and was probably just a typo.
    
    Change-Id: Ib35c5b001f0a77befa17e7bbb6447129e36a42ba
    Reviewed-on: https://gerrit.libreoffice.org/73590
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>
    Tested-by: Jenkins

diff --git a/vcl/inc/quartz/salgdi.h b/vcl/inc/quartz/salgdi.h
index e3c2b8e7b553..cdc3aee155f8 100644
--- a/vcl/inc/quartz/salgdi.h
+++ b/vcl/inc/quartz/salgdi.h
@@ -97,7 +97,7 @@ public:
     /// text rotation in radian
     float mfFontRotation;
     /// faux bold - true, if font doesn't have proper bold variants
-    float mbFauxBold;
+    bool mbFauxBold;
 
 private:
     explicit CoreTextStyle(const PhysicalFontFace&, const FontSelectPattern&);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to