diff options
Diffstat (limited to 'sfx2/source/appl/sfxhelp.cxx')
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 340b8c437d7d..eee01d48f056 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -869,7 +869,7 @@ bool rewriteFlatpakHelpRootUrl(OUString * helpRootUrl) { // /.../runtime/org.libreoffice.LibreOffice.Help/<arch>/<branch>/<sha>/files // because the extension's files are stored at a different place than the app's files, // so use this hack until flatpak itself provides a better solution: - static constexpr auto segments = OUStringLiteral(u"/app/org.libreoffice.LibreOffice/"); + static constexpr OUStringLiteral segments = u"/app/org.libreoffice.LibreOffice/"; auto const i1 = path.lastIndexOf(segments); // use lastIndexOf instead of indexOf, in case the user-controlled prefix /.../ // happens to contain such segments |