diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-25 08:52:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-26 11:43:15 +0100 |
commit | 16506994ecef4bd800575beb9f2b66eb16d902fa (patch) | |
tree | fb889fdb0c8b5ce3aa89570fe7ed0882f8ba173e /stoc | |
parent | 7313b9ecf2285768563d82c19715d34b7c66d5ef (diff) |
can use OUStringLiteral here
Change-Id: I1e71a35c2ce6bc7ef3081054e51494411d9a29ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127491
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/security/permissions.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/security/permissions.cxx b/stoc/source/security/permissions.cxx index 987b07ed8997..1d7aca177344 100644 --- a/stoc/source/security/permissions.cxx +++ b/stoc/source/security/permissions.cxx @@ -329,7 +329,7 @@ FilePermission::FilePermission( // correct win drive letters if (9 < m_url.getLength() && '|' == m_url[ 9 ]) // file:///X| { - static OUString s_colon = ":"; + constexpr OUStringLiteral s_colon = u":"; // common case in API is a ':' (sal), so convert '|' to ':' m_url = m_url.replaceAt( 9, 1, s_colon ); } |