Kaydet (Commit) f08d5453 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

kde5: fix build

Change-Id: Ife5a5075fcfbfd83425c021b9f535c1f5e3e8d7e
Reviewed-on: https://gerrit.libreoffice.org/62740Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Jenkins
Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst b69a4e1a
...@@ -743,24 +743,24 @@ namespace ...@@ -743,24 +743,24 @@ namespace
OUString lcl_convertFontWeight(double fontWeight) OUString lcl_convertFontWeight(double fontWeight)
{ {
if (fontWeight == awt::FontWeight::THIN || fontWeight == awt::FontWeight::ULTRALIGHT) if (fontWeight == awt::FontWeight::THIN || fontWeight == awt::FontWeight::ULTRALIGHT)
return "100"; return OUString("100");
if (fontWeight == awt::FontWeight::LIGHT) if (fontWeight == awt::FontWeight::LIGHT)
return "200"; return OUString("200");
if (fontWeight == awt::FontWeight::SEMILIGHT) if (fontWeight == awt::FontWeight::SEMILIGHT)
return "300"; return OUString("300");
if (fontWeight == awt::FontWeight::NORMAL) if (fontWeight == awt::FontWeight::NORMAL)
return "normal"; return OUString("normal");
if (fontWeight == awt::FontWeight::SEMIBOLD) if (fontWeight == awt::FontWeight::SEMIBOLD)
return "500"; return OUString("500");
if (fontWeight == awt::FontWeight::BOLD) if (fontWeight == awt::FontWeight::BOLD)
return "bold"; return OUString("bold");
if (fontWeight == awt::FontWeight::ULTRABOLD) if (fontWeight == awt::FontWeight::ULTRABOLD)
return "800"; return OUString("800");
if (fontWeight == awt::FontWeight::BLACK) if (fontWeight == awt::FontWeight::BLACK)
return "900"; return OUString("900");
// awt::FontWeight::DONTKNOW || fontWeight == awt::FontWeight::NORMAL // awt::FontWeight::DONTKNOW || fontWeight == awt::FontWeight::NORMAL
return "normal"; return OUString("normal");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment