diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-03 21:48:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-04 08:10:23 +0200 |
commit | 6d6b84db61eda9eb7d8d6a0b08c911af5927d38d (patch) | |
tree | e43cb420368a30fd1c666e7422fe83fffa056bf8 /sot | |
parent | 6cd4194e05233e8d1ddb59ffb9703778668b3f1b (diff) |
Just use Any ctor instead of makeAny in sot
Change-Id: I43830efeb1671838317c5667f77c609a319a4aea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133776
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/storage.cxx | 2 | ||||
-rw-r--r-- | sot/source/sdstor/ucbstorage.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index 0381aa477a9e..f1ff0455c0cb 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -678,7 +678,7 @@ SotStorage* SotStorage::OpenOLEStorage( const css::uno::Reference < css::embed:: { uno::Reference < beans::XPropertySet > xStreamProps( xStream, uno::UNO_QUERY_THROW ); xStreamProps->setPropertyValue( "MediaType", - uno::makeAny( OUString( "application/vnd.sun.star.oleobject" ) ) ); + uno::Any( OUString( "application/vnd.sun.star.oleobject" ) ) ); } pStream = utl::UcbStreamHelper::CreateStream( xStream ); diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index 3f35c0b95b20..f94556edbafc 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -1996,7 +1996,7 @@ sal_Int16 UCBStorage_Impl::Commit() // first remove all open stream handles if (pContent && (!pElement->m_xStream.is() || pElement->m_xStream->Clear())) { - pContent->executeCommand( "delete", makeAny( true ) ); + pContent->executeCommand( "delete", Any( true ) ); nRet = COMMIT_RESULT_SUCCESS; } else |