diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-01-12 15:25:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-01-13 07:36:36 +0100 |
commit | 3fff050a343e7fb45c3c562772b22fb5e824352f (patch) | |
tree | eef56086bd10479f2589a89cb2cd56b1f8b3427b /extensions/source/config | |
parent | dcfac443c608aec2ce4e5fa30a3dd021b5a8bfd3 (diff) |
loplugin:stringliteralvar (clang-cl)
Change-Id: I79949789634242eb95cc722bab83e0348775f274
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109174
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions/source/config')
-rw-r--r-- | extensions/source/config/WinUserInfo/WinUserInfoBe.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx b/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx index 7dd5c5463e46..f9f5f9545439 100644 --- a/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx +++ b/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx @@ -60,23 +60,23 @@ public: namespace { -constexpr char givenname[]("givenname"); -constexpr char sn[]("sn"); +constexpr OUStringLiteral givenname(u"givenname"); +constexpr OUStringLiteral sn(u"sn"); constexpr char fathersname[]("fathersname"); -constexpr char initials[]("initials"); -constexpr char street[]("street"); -constexpr char l[]("l"); -constexpr char st[]("st"); +constexpr OUStringLiteral initials(u"initials"); +constexpr OUStringLiteral street(u"street"); +constexpr OUStringLiteral l(u"l"); +constexpr OUStringLiteral st(u"st"); constexpr char apartment[]("apartment"); -constexpr char postalcode[]("postalcode"); -constexpr char c[]("c"); -constexpr char o[]("o"); +constexpr OUStringLiteral postalcode(u"postalcode"); +constexpr OUStringLiteral c(u"c"); +constexpr OUStringLiteral o(u"o"); constexpr char position[]("position"); -constexpr char title[]("title"); -constexpr char homephone[]("homephone"); -constexpr char telephonenumber[]("telephonenumber"); -constexpr char facsimiletelephonenumber[]("facsimiletelephonenumber"); -constexpr char mail[]("mail"); +constexpr OUStringLiteral title(u"title"); +constexpr OUStringLiteral homephone(u"homephone"); +constexpr OUStringLiteral telephonenumber(u"telephonenumber"); +constexpr OUStringLiteral facsimiletelephonenumber(u"facsimiletelephonenumber"); +constexpr OUStringLiteral mail(u"mail"); // Backend class implementing access to Active Directory user data. It caches its encoded data // in a configuration entry, to allow reusing it when user later doesn't have access to AD DC |