summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-18 07:37:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-18 11:26:44 +0200
commitb946842a744c2b869e5c01adf90335edf07f09ad (patch)
tree8a6b21fb1040a0e825856e06f20bd1250fbeaf27 /extensions
parent35ea75e9c2be75a70298a3f4e7d703c1d0f9497e (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 'extensions')
-rw-r--r--extensions/source/propctrlr/defaultforminspection.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/defaultforminspection.cxx b/extensions/source/propctrlr/defaultforminspection.cxx
index 16371b302868..3fa7fa5658a5 100644
--- a/extensions/source/propctrlr/defaultforminspection.cxx
+++ b/extensions/source/propctrlr/defaultforminspection.cxx
@@ -130,8 +130,8 @@ namespace pcr
{
const char* programmaticName;
TranslateId uiNameResId;
- rtl::OUStringConstExpr helpId;
- } const aCategories[] = {
+ OUString helpId;
+ } constexpr aCategories[] = {
{ "General", RID_STR_PROPPAGE_DEFAULT, HID_FM_PROPDLG_TAB_GENERAL },
{ "Data", RID_STR_PROPPAGE_DATA, HID_FM_PROPDLG_TAB_DATA },
{ "Events", RID_STR_EVENTS, HID_FM_PROPDLG_TAB_EVT }
@@ -144,7 +144,7 @@ namespace pcr
{
pReturn->ProgrammaticName = OUString::createFromAscii( aCategories[i].programmaticName );
pReturn->UIName = PcrRes( aCategories[i].uiNameResId );
- pReturn->HelpURL = HelpIdUrl::getHelpURL( aCategories[i].helpId.asView() );
+ pReturn->HelpURL = HelpIdUrl::getHelpURL( aCategories[i].helpId );
}
return aReturn;