summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2018-11-01 14:37:09 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-11-01 16:30:17 +0100
commitf08d54535b3cec6d5dce4a763c738b88cc96351c (patch)
tree958949b17542dc7d43f82717f7ac19a68875776b
parentb69a4e1ac88086244446083fd28662e6d832ec10 (diff)
kde5: fix build
Change-Id: Ife5a5075fcfbfd83425c021b9f535c1f5e3e8d7e Reviewed-on: https://gerrit.libreoffice.org/62740 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
-rw-r--r--vcl/qt5/Qt5AccessibleWidget.cxx18
1 files changed, 9 insertions, 9 deletions
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");
}
}