diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-18 07:37:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-18 11:26:44 +0200 |
commit | b946842a744c2b869e5c01adf90335edf07f09ad (patch) | |
tree | 8a6b21fb1040a0e825856e06f20bd1250fbeaf27 /sc/source/ui/unoobj | |
parent | 35ea75e9c2be75a70298a3f4e7d703c1d0f9497e (diff) |
Clean up the remaining uses of OUStringConstExpr, and drop it
Change-Id: I30b2ac77b58e2ae1d1e997a0c830c513542b973d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158101
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r-- | sc/source/ui/unoobj/targuno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/targuno.cxx b/sc/source/ui/unoobj/targuno.cxx index f3b4888ae535..635c918f3673 100644 --- a/sc/source/ui/unoobj/targuno.cxx +++ b/sc/source/ui/unoobj/targuno.cxx @@ -200,7 +200,7 @@ void SAL_CALL ScLinkTargetTypeObj::setPropertyValue(const OUString& /* aProperty //! exception? } -constexpr rtl::OUStringConstExpr aContentBmps[]= +constexpr OUString aContentBmps[]= { RID_BMP_CONTENT_TABLE, RID_BMP_CONTENT_RANGENAME, @@ -229,7 +229,7 @@ void ScLinkTargetTypeObj::SetLinkTargetBitmap( uno::Any& rRet, sal_uInt16 nType } if (nImgId != ScContentId::ROOT) { - BitmapEx aBitmapEx { OUString(aContentBmps[static_cast<int>(nImgId) -1 ]) }; + BitmapEx aBitmapEx { aContentBmps[static_cast<int>(nImgId) -1 ] }; rRet <<= VCLUnoHelper::CreateBitmap(aBitmapEx); } } |