summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/expand/ucpexpand.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-14 09:41:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-15 18:02:14 +0200
commit045a21f08abff10592fe303abf0f311a83777e81 (patch)
tree9c5fe8e292d1850737a68836df77bc999d2742a9 /ucb/source/ucp/expand/ucpexpand.cxx
parent534d3818aedfa95ad73935235462f5ec2817f5da (diff)
loplugin:ostr in ucb
Change-Id: Ic2209e0fbc7035a909eebdbb085d77c9353988cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167655 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'ucb/source/ucp/expand/ucpexpand.cxx')
-rw-r--r--ucb/source/ucp/expand/ucpexpand.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/ucp/expand/ucpexpand.cxx b/ucb/source/ucp/expand/ucpexpand.cxx
index 413100bc54f1..46378b6dfebd 100644
--- a/ucb/source/ucp/expand/ucpexpand.cxx
+++ b/ucb/source/ucp/expand/ucpexpand.cxx
@@ -78,8 +78,8 @@ void ExpandContentProviderImpl::check() const
if (m_bDisposed)
{
throw lang::DisposedException(
- "expand content provider instance has "
- "already been disposed!",
+ u"expand content provider instance has "
+ "already been disposed!"_ustr,
const_cast< ExpandContentProviderImpl * >(this)->getXWeak() );
}
}
@@ -89,7 +89,7 @@ void ExpandContentProviderImpl::check() const
OUString ExpandContentProviderImpl::getImplementationName()
{
check();
- return "com.sun.star.comp.ucb.ExpandContentProvider";
+ return u"com.sun.star.comp.ucb.ExpandContentProvider"_ustr;
}
@@ -97,8 +97,8 @@ uno::Sequence< OUString > ExpandContentProviderImpl::getSupportedServiceNames()
{
check();
return {
- "com.sun.star.ucb.ExpandContentProvider",
- "com.sun.star.ucb.ContentProvider"
+ u"com.sun.star.ucb.ExpandContentProvider"_ustr,
+ u"com.sun.star.ucb.ContentProvider"_ustr
};
}
@@ -114,7 +114,7 @@ OUString ExpandContentProviderImpl::expandUri(
if (!uri.startsWithIgnoreAsciiCase("vnd.sun.star.expand:", &uri))
{
throw ucb::IllegalIdentifierException(
- "expected protocol vnd.sun.star.expand!",
+ u"expected protocol vnd.sun.star.expand!"_ustr,
const_cast< ExpandContentProviderImpl * >(this)->getXWeak() );
}
// decode uric class chars