diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-17 19:06:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-18 07:20:51 +0000 |
commit | 4b9acb48b1ea45c82dbd8df3faa35cabd3bb9b4d (patch) | |
tree | 963dde5c91fc5030365b8dcf035bac57e26436f3 /vcl/unx/generic | |
parent | 6f54b54ec3dc51fb8824adb08620fde4c70d10f2 (diff) |
loplugin:stringadd use more O[U]StringChar
Change-Id: I196e4539ad430a39415eff9d7170b33df7228230
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149062
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/fontmanager/fontconfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx index ac747bd71aef..eb66017d98fa 100644 --- a/vcl/unx/generic/fontmanager/fontconfig.cxx +++ b/vcl/unx/generic/fontmanager/fontconfig.cxx @@ -951,7 +951,7 @@ namespace UScriptCode eScript = static_cast<UScriptCode>(script); OStringBuffer aBuf(unicode::getExemplarLanguageForUScriptCode(eScript)); if (const char* pScriptCode = uscript_getShortName(eScript)) - aBuf.append('-').append(pScriptCode); + aBuf.append(OStringChar('-') + pScriptCode); return OStringToOUString(aBuf, RTL_TEXTENCODING_UTF8); } } |