l10ntools/source/merge.cxx    |    2 +-
 l10ntools/source/xmlparse.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f6f00918854bae7f03e79192e5d79f78929cb418
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Oct 19 10:30:19 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Oct 19 23:20:34 2023 +0200

    Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: l10ntools
    
    Change-Id: I4878e2209b8499e02b7a6c13867b1a3aa4dad7e7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158204
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx
index 8327442b0af2..2ad9d8261fb8 100644
--- a/l10ntools/source/merge.cxx
+++ b/l10ntools/source/merge.cxx
@@ -150,7 +150,7 @@ MergeDataFile::MergeDataFile(
         OString sLang;
         //Get language id from path
         {
-            static constexpr OStringLiteral 
sTransSource("translations/source/");
+            static constexpr OString sTransSource("translations/source/"_ostr);
             const sal_Int32 nStart =
                 sPoFileName.indexOf(sTransSource)+sTransSource.getLength();
             const sal_Int32 nCount =
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index b3fa97ae00d0..51186ac5c623 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -36,7 +36,7 @@
 
 using namespace osl;
 
-constexpr OStringLiteral XML_LANG = "xml-lang";
+constexpr OString XML_LANG = "xml-lang"_ostr;
 
 
 

Reply via email to