diff options
-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 |