diff options
Diffstat (limited to 'scripting/source')
-rw-r--r-- | scripting/source/basprov/basmethnode.cxx | 2 | ||||
-rw-r--r-- | scripting/source/basprov/basscript.cxx | 2 | ||||
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 2 | ||||
-rw-r--r-- | scripting/source/provider/URIHelper.cxx | 8 | ||||
-rw-r--r-- | scripting/source/stringresource/stringresource.cxx | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx index 168d297e48de..f26e4c9a931b 100644 --- a/scripting/source/basprov/basmethnode.cxx +++ b/scripting/source/basprov/basmethnode.cxx @@ -45,7 +45,7 @@ using namespace ::sf_misc; #define BASPROV_PROPERTY_ID_EDITABLE 2 constexpr OUStringLiteral BASPROV_PROPERTY_URI = u"URI"; -constexpr OUStringLiteral BASPROV_PROPERTY_EDITABLE = u"Editable"; +constexpr OUString BASPROV_PROPERTY_EDITABLE = u"Editable"_ustr; #define BASPROV_DEFAULT_ATTRIBS() PropertyAttribute::BOUND | PropertyAttribute::TRANSIENT | PropertyAttribute::READONLY diff --git a/scripting/source/basprov/basscript.cxx b/scripting/source/basprov/basscript.cxx index f3ab8d2dd224..de50f62e11de 100644 --- a/scripting/source/basprov/basscript.cxx +++ b/scripting/source/basprov/basscript.cxx @@ -45,7 +45,7 @@ namespace basprov { #define BASSCRIPT_PROPERTY_ID_CALLER 1 -constexpr OUStringLiteral BASSCRIPT_PROPERTY_CALLER = u"Caller"; +constexpr OUString BASSCRIPT_PROPERTY_CALLER = u"Caller"_ustr; #define BASSCRIPT_DEFAULT_ATTRIBS() PropertyAttribute::BOUND | PropertyAttribute::TRANSIENT diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index 18815f499e72..32e85900d440 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -554,7 +554,7 @@ namespace dlgprov // XDialogProvider - constexpr OUStringLiteral aDecorationPropName = u"Decoration"; + constexpr OUString aDecorationPropName = u"Decoration"_ustr; Reference < XControl > DialogProviderImpl::createDialogImpl( const OUString& URL, const Reference< XInterface >& xHandler, diff --git a/scripting/source/provider/URIHelper.cxx b/scripting/source/provider/URIHelper.cxx index 5333bee34da4..4b122da8b1d7 100644 --- a/scripting/source/provider/URIHelper.cxx +++ b/scripting/source/provider/URIHelper.cxx @@ -34,14 +34,14 @@ namespace ucb = ::com::sun::star::ucb; namespace lang = ::com::sun::star::lang; namespace uri = ::com::sun::star::uri; -constexpr OUStringLiteral SHARE = u"share"; +constexpr OUString SHARE = u"share"_ustr; constexpr OUStringLiteral SHARE_UNO_PACKAGES_URI = u"vnd.sun.star.expand:$UNO_SHARED_PACKAGES_CACHE"; -constexpr OUStringLiteral USER = u"user"; -constexpr OUStringLiteral USER_URI = - u"vnd.sun.star.expand:${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE( "bootstrap") "::UserInstallation}"; +constexpr OUString USER = u"user"_ustr; +constexpr OUString USER_URI = + u"vnd.sun.star.expand:${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE( "bootstrap") "::UserInstallation}"_ustr; diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index 64988a5aafaf..096692602407 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -665,7 +665,7 @@ Sequence< OUString > StringResourcePersistenceImpl::getSupportedServiceNames( ) // XInitialization base functionality for derived classes -constexpr OUStringLiteral aNameBaseDefaultStr = u"strings"; +constexpr OUString aNameBaseDefaultStr = u"strings"_ustr; void StringResourcePersistenceImpl::implInitializeCommonParameters ( std::unique_lock<std::mutex>& rGuard, const Sequence< Any >& aArguments ) |