summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/grafctrl.cxx
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 /svx/source/tbxctrls/grafctrl.cxx
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 'svx/source/tbxctrls/grafctrl.cxx')
-rw-r--r--svx/source/tbxctrls/grafctrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx
index cd2533538466..4a1cd448900e 100644
--- a/svx/source/tbxctrls/grafctrl.cxx
+++ b/svx/source/tbxctrls/grafctrl.cxx
@@ -156,7 +156,7 @@ namespace {
struct CommandToRID
{
const char* pCommand;
- rtl::OUStringConstExpr sResId;
+ OUString sResId;
};
}
@@ -164,7 +164,7 @@ struct CommandToRID
static OUString ImplGetRID( std::u16string_view aCommand )
{
static constexpr OUStringLiteral EMPTY = u"";
- static const CommandToRID aImplCommandToResMap[] =
+ static constexpr CommandToRID aImplCommandToResMap[] =
{
{ ".uno:GrafRed", RID_SVXBMP_GRAF_RED },
{ ".uno:GrafGreen", RID_SVXBMP_GRAF_GREEN },