vcl/qt5/Qt5AccessibleWidget.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
New commits: commit f08d54535b3cec6d5dce4a763c738b88cc96351c Author: Thorsten Behrens <thorsten.behr...@cib.de> AuthorDate: Thu Nov 1 14:37:09 2018 +0100 Commit: Thorsten Behrens <thorsten.behr...@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.mehrbr...@cib.de> Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behr...@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"); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits