From 3ae9860b9c4c9cbf4b5b7c47617303f29042783d Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Wed, 27 Sep 2023 09:18:51 +0300 Subject: OUString -> OUStringLiteral Change-Id: I80b6c736960badf1a6e3af89740a80f46a651f9f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157305 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- embeddedobj/source/msole/ownview.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embeddedobj') diff --git a/embeddedobj/source/msole/ownview.cxx b/embeddedobj/source/msole/ownview.cxx index 322bd9f5b3c6..e4684d6d29bf 100644 --- a/embeddedobj/source/msole/ownview.cxx +++ b/embeddedobj/source/msole/ownview.cxx @@ -401,7 +401,7 @@ void OwnView_Impl::CreateNative() aArgs, m_xContext ), uno::UNO_QUERY_THROW ); - OUString aSubStreamName = "\1Ole10Native"; + static constexpr OUStringLiteral aSubStreamName(u"\1Ole10Native"); uno::Reference< embed::XClassifiedObject > xStor( xNameAccess, uno::UNO_QUERY_THROW ); uno::Sequence< sal_Int8 > aStorClassID = xStor->getClassID(); -- cgit