[Libreoffice-commits] core.git: l10ntools/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 18 20:18:41 UTC 2021


 l10ntools/source/merge.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5fb7f66d240fec32a4751d331a215307ad994cbb
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jun 18 15:16:06 2021 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Jun 18 22:18:02 2021 +0200

    Simplify a OUString construction
    
    Change-Id: Ie7bf010f6864db19b7cc64761b34e203ce70784d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117458
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx
index 02bfd9a74bbc..004cffacc494 100644
--- a/l10ntools/source/merge.cxx
+++ b/l10ntools/source/merge.cxx
@@ -94,7 +94,7 @@ namespace
     {
         //DOUBLE VERTICAL LINE instead of || because the translations make their
         //way into action_names under gtk3 where || is illegal
-        return OUStringToOString(u"\x2016", RTL_TEXTENCODING_UTF8);
+        return u8"\u2016";
     }
 }
 


More information about the Libreoffice-commits mailing list