diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-28 11:40:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-28 18:02:08 +0200 |
commit | 592947c1a421eae46d6268798cf3eab6bc6f0dc6 (patch) | |
tree | 0ae0460a42d4b99705a41169e2c1448166ecea6d /sc/source/ui/unoobj/afmtuno.cxx | |
parent | 2cb410d1a7e39f01bd1e8488b220d1bc6d9674a3 (diff) |
loplugin:ostr in sc/../unoobj
Change-Id: I182a5f28c872eb4dd96b930b86b9aef42459f191
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168145
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj/afmtuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/afmtuno.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/unoobj/afmtuno.cxx b/sc/source/ui/unoobj/afmtuno.cxx index 496e35684c47..bd1776fd0760 100644 --- a/sc/source/ui/unoobj/afmtuno.cxx +++ b/sc/source/ui/unoobj/afmtuno.cxx @@ -122,9 +122,9 @@ static std::span<const SfxItemPropertyMapEntry> lcl_GetAutoFieldMap() constexpr OUString SCAUTOFORMATSOBJ_SERVICE = u"com.sun.star.sheet.TableAutoFormats"_ustr; -SC_SIMPLE_SERVICE_INFO( ScAutoFormatFieldObj, "ScAutoFormatFieldObj", "com.sun.star.sheet.TableAutoFormatField" ) -SC_SIMPLE_SERVICE_INFO( ScAutoFormatObj, "ScAutoFormatObj", "com.sun.star.sheet.TableAutoFormat" ) -SC_SIMPLE_SERVICE_INFO( ScAutoFormatsObj, "stardiv.StarCalc.ScAutoFormatsObj", SCAUTOFORMATSOBJ_SERVICE ) +SC_SIMPLE_SERVICE_INFO( ScAutoFormatFieldObj, u"ScAutoFormatFieldObj"_ustr, u"com.sun.star.sheet.TableAutoFormatField"_ustr ) +SC_SIMPLE_SERVICE_INFO( ScAutoFormatObj, u"ScAutoFormatObj"_ustr, u"com.sun.star.sheet.TableAutoFormat"_ustr ) +SC_SIMPLE_SERVICE_INFO( ScAutoFormatsObj, u"stardiv.StarCalc.ScAutoFormatsObj"_ustr, SCAUTOFORMATSOBJ_SERVICE ) static bool lcl_FindAutoFormatIndex( const ScAutoFormat& rFormats, std::u16string_view rName, sal_uInt16& rOutIndex ) { @@ -261,7 +261,7 @@ void SAL_CALL ScAutoFormatsObj::removeByName( const OUString& aName ) uno::Reference<container::XEnumeration> SAL_CALL ScAutoFormatsObj::createEnumeration() { SolarMutexGuard aGuard; - return new ScIndexEnumeration(this, "com.sun.star.sheet.TableAutoFormatEnumeration"); + return new ScIndexEnumeration(this, u"com.sun.star.sheet.TableAutoFormatEnumeration"_ustr); } // container::XIndexAccess @@ -368,7 +368,7 @@ rtl::Reference<ScAutoFormatFieldObj> ScAutoFormatObj::GetObjectByIndex_Impl(sal_ uno::Reference<container::XEnumeration> SAL_CALL ScAutoFormatObj::createEnumeration() { SolarMutexGuard aGuard; - return new ScIndexEnumeration(this, "com.sun.star.sheet.TableAutoFormatEnumeration"); + return new ScIndexEnumeration(this, u"com.sun.star.sheet.TableAutoFormatEnumeration"_ustr); } // container::XIndexAccess |