diff options
Diffstat (limited to 'framework/inc/services.h')
-rw-r--r-- | framework/inc/services.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/framework/inc/services.h b/framework/inc/services.h index 885ade4fbf47..c87008f8eb7b 100644 --- a/framework/inc/services.h +++ b/framework/inc/services.h @@ -19,21 +19,23 @@ #pragma once +#include <rtl/ustring.hxx> + namespace framework{ // used servicenames by framework -#define SERVICENAME_FILTERFACTORY "com.sun.star.document.FilterFactory" -#define SERVICENAME_CFGUPDATEACCESS "com.sun.star.configuration.ConfigurationUpdateAccess" // provides read/write access to the configuration -#define SERVICENAME_CFGREADACCESS "com.sun.star.configuration.ConfigurationAccess" // provides readonly access to the configuration -#define SERVICENAME_JOB "com.sun.star.task.Job" -#define SERVICENAME_PROTOCOLHANDLER "com.sun.star.frame.ProtocolHandler" -#define SERVICENAME_POPUPMENUCONTROLLER "com.sun.star.frame.PopupMenuController" +inline constexpr OUString SERVICENAME_FILTERFACTORY = u"com.sun.star.document.FilterFactory"_ustr; +inline constexpr OUString SERVICENAME_CFGUPDATEACCESS = u"com.sun.star.configuration.ConfigurationUpdateAccess"_ustr; // provides read/write access to the configuration +inline constexpr OUString SERVICENAME_CFGREADACCESS = u"com.sun.star.configuration.ConfigurationAccess"_ustr; // provides readonly access to the configuration +inline constexpr OUString SERVICENAME_JOB = u"com.sun.star.task.Job"_ustr; +inline constexpr OUString SERVICENAME_PROTOCOLHANDLER = u"com.sun.star.frame.ProtocolHandler"_ustr; +inline constexpr OUString SERVICENAME_POPUPMENUCONTROLLER = u"com.sun.star.frame.PopupMenuController"_ustr; // used implementationnames by framework #define IMPLEMENTATIONNAME_QUICKLAUNCHER "com.sun.star.comp.desktop.QuickstartWrapper" -#define IMPLEMENTATIONNAME_FWK_TASKCREATOR "com.sun.star.comp.framework.TaskCreator" +inline constexpr OUString IMPLEMENTATIONNAME_FWK_TASKCREATOR = u"com.sun.star.comp.framework.TaskCreator"_ustr; } // namespace framework |