summaryrefslogtreecommitdiff
path: root/sfx2/source/control/unoctitm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-10 13:18:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-10 18:42:35 +0200
commitca5c9591ba38ad83415a2d4ced98bfc74d30b032 (patch)
treedcccbec3d99727cffe7debd21d3c40521383857b /sfx2/source/control/unoctitm.cxx
parente888503ee0aecbce8f3075b106243cf68b8dddc7 (diff)
loplugin:ostr in sfx2
Change-Id: I6306260d03c1208ec250c2f9a3860fa569f6d9c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167448 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/control/unoctitm.cxx')
-rw-r--r--sfx2/source/control/unoctitm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 6fb25977796e..be86988ce9fd 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -233,7 +233,7 @@ void SAL_CALL SfxOfficeDispatch::dispatch( const css::util::URL& aURL, const css
std::unique_ptr< css::uno::ContextLayer > layer(EnsureJavaContext());
#endif
utl::MediaDescriptor aDescriptor(aArgs);
- bool bOnMainThread = aDescriptor.getUnpackedValueOrDefault("OnMainThread", false);
+ bool bOnMainThread = aDescriptor.getUnpackedValueOrDefault(u"OnMainThread"_ustr, false);
if (bOnMainThread)
{
// Make sure that we own the solar mutex, otherwise later