summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/dapiuno.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-02 08:45:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-02 09:49:56 +0200
commit9c5744adbd97821b5574d55266f8a4e60fd925da (patch)
treef6318a932216bb25675029e9ac58f280a64c62b5 /sc/source/ui/unoobj/dapiuno.cxx
parent559b342a62901754222723ee522f5ae80e4d40f5 (diff)
convert #defines to OUStringLiteral
mostly by doing $ git grep -l '#define.*\"' -- *.cxx | xargs perl -pi -e 's/^#define\s+(\w+)\s+(\".*\")/constexpr OUStringLiteral \1 = u\2;/g' Change-Id: I7467f9067085ac89b98a0398811396c448339b4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119840 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj/dapiuno.cxx')
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index 9a85aae7cb8d..ff370151ff3c 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -189,7 +189,7 @@ SC_SIMPLE_SERVICE_INFO( ScDataPilotFieldGroupObj, "ScDataPilotFieldGroupObj", "c
SC_SIMPLE_SERVICE_INFO( ScDataPilotFieldGroupItemObj, "ScDataPilotFieldGroupItemObj", "com.sun.star.sheet.DataPilotFieldGroupItem" )
// name that is used in the API for the data layout field
-#define SC_DATALAYOUT_NAME "Data"
+constexpr OUStringLiteral SC_DATALAYOUT_NAME = u"Data";
ScGeneralFunction ScDataPilotConversion::FirstFunc( PivotFunc nBits )
{