diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/cfgitem.cxx | 4 | ||||
-rw-r--r-- | starmath/source/dialog.cxx | 2 | ||||
-rw-r--r-- | starmath/source/mathml/mathmlexport.cxx | 8 | ||||
-rw-r--r-- | starmath/source/unomodel.cxx | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx index 5287b05e018d..8f698bb282ee 100644 --- a/starmath/source/cfgitem.cxx +++ b/starmath/source/cfgitem.cxx @@ -42,8 +42,8 @@ using namespace com::sun::star::uno; using namespace com::sun::star::beans; -constexpr OUStringLiteral SYMBOL_LIST = u"SymbolList"; -constexpr OUStringLiteral FONT_FORMAT_LIST = u"FontFormatList"; +constexpr OUString SYMBOL_LIST = u"SymbolList"_ustr; +constexpr OUString FONT_FORMAT_LIST = u"FontFormatList"_ustr; static Sequence< OUString > lcl_GetFontPropertyNames() { diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index cea78036d59a..98f96eacb480 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -733,7 +733,7 @@ void SmDistanceDialog::SetCategory(sal_uInt16 nCategory) // array to convert category- and metricfield-number in help ids. // 0 is used in case of unused combinations. assert(NOCATEGORIES == 10 && "Sm : array doesn't fit into the number of categories"); - static constexpr OUStringLiteral EMPTY(u""); + static constexpr OUString EMPTY(u""_ustr); static constexpr OUString aCatMf2Hid[10][4] = { { HID_SMA_DEFAULT_DIST, HID_SMA_LINE_DIST, HID_SMA_ROOT_DIST, EMPTY }, diff --git a/starmath/source/mathml/mathmlexport.cxx b/starmath/source/mathml/mathmlexport.cxx index c498187222e9..3c308cd84bc6 100644 --- a/starmath/source/mathml/mathmlexport.cxx +++ b/starmath/source/mathml/mathmlexport.cxx @@ -124,10 +124,10 @@ bool SmXMLExportWrapper::Export(SfxMedium& rMedium) } } - static constexpr OUStringLiteral sUsePrettyPrinting(u"UsePrettyPrinting"); - static constexpr OUStringLiteral sBaseURI(u"BaseURI"); - static constexpr OUStringLiteral sStreamRelPath(u"StreamRelPath"); - static constexpr OUStringLiteral sStreamName(u"StreamName"); + static constexpr OUString sUsePrettyPrinting(u"UsePrettyPrinting"_ustr); + static constexpr OUString sBaseURI(u"BaseURI"_ustr); + static constexpr OUString sStreamRelPath(u"StreamRelPath"_ustr); + static constexpr OUString sStreamName(u"StreamName"_ustr); // create XPropertySet with three properties for status indicator static const comphelper::PropertyMapEntry aInfoMap[] = { diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 8348287f9350..96e41599ddad 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -393,8 +393,8 @@ sal_Bool SmModel::supportsService(const OUString& rServiceName) uno::Sequence< OUString > SmModel::getSupportedServiceNames() { - static constexpr OUStringLiteral service1 = u"com.sun.star.document.OfficeDocument"; - static constexpr OUStringLiteral service2 = u"com.sun.star.formula.FormulaProperties"; + static constexpr OUString service1 = u"com.sun.star.document.OfficeDocument"_ustr; + static constexpr OUString service2 = u"com.sun.star.formula.FormulaProperties"_ustr; return uno::Sequence<OUString>{ service1, service2 }; } |