include/ucbhelper/resultset.hxx       |    2 +-
 include/ucbhelper/resultsethelper.hxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 60bff7546fb8e35e5b0cebdeb767a41a6398f828
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Fri Nov 26 11:34:57 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Sat Nov 27 12:45:31 2021 +0100

    loplugin:stringliteraldefine in ucbhelper
    
    Change-Id: I5fb7ffed1e29ff494e09cf048bee9ceb0f8262c5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125870
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/include/ucbhelper/resultset.hxx b/include/ucbhelper/resultset.hxx
index 243d992230d0..6790c3dd1c59 100644
--- a/include/ucbhelper/resultset.hxx
+++ b/include/ucbhelper/resultset.hxx
@@ -41,7 +41,7 @@ namespace com::sun::star::ucb { class XCommandEnvironment; }
 namespace ucbhelper {
 
 
-#define RESULTSET_SERVICE_NAME  "com.sun.star.ucb.ContentResultSet"
+inline constexpr OUStringLiteral RESULTSET_SERVICE_NAME = 
u"com.sun.star.ucb.ContentResultSet";
 
 
 class ResultSetDataSupplier;
diff --git a/include/ucbhelper/resultsethelper.hxx 
b/include/ucbhelper/resultsethelper.hxx
index ce5c1227ad3f..94ab9e1a51de 100644
--- a/include/ucbhelper/resultsethelper.hxx
+++ b/include/ucbhelper/resultsethelper.hxx
@@ -37,7 +37,7 @@ namespace cppu {
 namespace ucbhelper {
 
 
-#define DYNAMICRESULTSET_SERVICE_NAME "com.sun.star.ucb.DynamicResultSet"
+inline constexpr OUStringLiteral DYNAMICRESULTSET_SERVICE_NAME = 
u"com.sun.star.ucb.DynamicResultSet";
 
 
 /**

Reply via email to