summaryrefslogtreecommitdiffstats
path: root/unotools/source/config/moduleoptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/config/moduleoptions.cxx')
-rw-r--r--unotools/source/config/moduleoptions.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx
index 118d43056da5..3e5443295c41 100644
--- a/unotools/source/config/moduleoptions.cxx
+++ b/unotools/source/config/moduleoptions.cxx
@@ -73,17 +73,17 @@
#define PROPERTYCOUNT 6
-#define FACTORYNAME_WRITER u"com.sun.star.text.TextDocument"
-#define FACTORYNAME_WRITERWEB u"com.sun.star.text.WebDocument"
-#define FACTORYNAME_WRITERGLOBAL u"com.sun.star.text.GlobalDocument"
-#define FACTORYNAME_CALC u"com.sun.star.sheet.SpreadsheetDocument"
-#define FACTORYNAME_DRAW u"com.sun.star.drawing.DrawingDocument"
-#define FACTORYNAME_IMPRESS u"com.sun.star.presentation.PresentationDocument"
-#define FACTORYNAME_MATH u"com.sun.star.formula.FormulaProperties"
-#define FACTORYNAME_CHART u"com.sun.star.chart2.ChartDocument"
-#define FACTORYNAME_DATABASE u"com.sun.star.sdb.OfficeDatabaseDocument"
-#define FACTORYNAME_STARTMODULE u"com.sun.star.frame.StartModule"
-#define FACTORYNAME_BASIC u"com.sun.star.script.BasicIDE"
+constexpr OUStringLiteral FACTORYNAME_WRITER = u"com.sun.star.text.TextDocument";
+constexpr OUStringLiteral FACTORYNAME_WRITERWEB = u"com.sun.star.text.WebDocument";
+constexpr OUStringLiteral FACTORYNAME_WRITERGLOBAL = u"com.sun.star.text.GlobalDocument";
+constexpr OUStringLiteral FACTORYNAME_CALC = u"com.sun.star.sheet.SpreadsheetDocument";
+constexpr OUStringLiteral FACTORYNAME_DRAW = u"com.sun.star.drawing.DrawingDocument";
+constexpr OUStringLiteral FACTORYNAME_IMPRESS = u"com.sun.star.presentation.PresentationDocument";
+constexpr OUStringLiteral FACTORYNAME_MATH = u"com.sun.star.formula.FormulaProperties";
+constexpr OUStringLiteral FACTORYNAME_CHART = u"com.sun.star.chart2.ChartDocument";
+constexpr OUStringLiteral FACTORYNAME_DATABASE = u"com.sun.star.sdb.OfficeDatabaseDocument";
+constexpr OUStringLiteral FACTORYNAME_STARTMODULE = u"com.sun.star.frame.StartModule";
+constexpr OUStringLiteral FACTORYNAME_BASIC = u"com.sun.star.script.BasicIDE";
#define FACTORYCOUNT 11