diff options
Diffstat (limited to 'sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx')
-rw-r--r-- | sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx index 2a284dd62697..088253d5606b 100644 --- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx +++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx @@ -17,6 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <string_view> + #include "GenericConfigurationChangeRequest.hxx" #include <framework/FrameworkHelper.hxx> @@ -62,8 +66,9 @@ void SAL_CALL GenericConfigurationChangeRequest::execute ( OUString SAL_CALL GenericConfigurationChangeRequest::getName() { - return "GenericConfigurationChangeRequest " - + (meMode==Activation ? OUStringLiteral(u"activate ") : OUStringLiteral(u"deactivate ")) + return OUString::Concat("GenericConfigurationChangeRequest ") + + (meMode==Activation + ? std::u16string_view(u"activate ") : std::u16string_view(u"deactivate ")) + FrameworkHelper::ResourceIdToString(mxResourceId); } |