[Libreoffice-commits] core.git: vcl/qt5

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 1 15:30:44 UTC 2018


 vcl/qt5/Qt5AccessibleWidget.cxx |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

New commits:
commit f08d54535b3cec6d5dce4a763c738b88cc96351c
Author:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Thu Nov 1 14:37:09 2018 +0100
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Thu Nov 1 16:30:17 2018 +0100

    kde5: fix build
    
    Change-Id: Ife5a5075fcfbfd83425c021b9f535c1f5e3e8d7e
    Reviewed-on: https://gerrit.libreoffice.org/62740
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Jenkins
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/vcl/qt5/Qt5AccessibleWidget.cxx b/vcl/qt5/Qt5AccessibleWidget.cxx
index dd50a3ef57ab..5e2b43ad906e 100644
--- a/vcl/qt5/Qt5AccessibleWidget.cxx
+++ b/vcl/qt5/Qt5AccessibleWidget.cxx
@@ -743,24 +743,24 @@ namespace
 OUString lcl_convertFontWeight(double fontWeight)
 {
     if (fontWeight == awt::FontWeight::THIN || fontWeight == awt::FontWeight::ULTRALIGHT)
-        return "100";
+        return OUString("100");
     if (fontWeight == awt::FontWeight::LIGHT)
-        return "200";
+        return OUString("200");
     if (fontWeight == awt::FontWeight::SEMILIGHT)
-        return "300";
+        return OUString("300");
     if (fontWeight == awt::FontWeight::NORMAL)
-        return "normal";
+        return OUString("normal");
     if (fontWeight == awt::FontWeight::SEMIBOLD)
-        return "500";
+        return OUString("500");
     if (fontWeight == awt::FontWeight::BOLD)
-        return "bold";
+        return OUString("bold");
     if (fontWeight == awt::FontWeight::ULTRABOLD)
-        return "800";
+        return OUString("800");
     if (fontWeight == awt::FontWeight::BLACK)
-        return "900";
+        return OUString("900");
 
     // awt::FontWeight::DONTKNOW || fontWeight == awt::FontWeight::NORMAL
-    return "normal";
+    return OUString("normal");
 }
 }
 


More information about the Libreoffice-commits mailing list