diff options
Diffstat (limited to 'sot/source/unoolestorage/xolesimplestorage.cxx')
-rw-r--r-- | sot/source/unoolestorage/xolesimplestorage.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx index aab550a0a525..80f2d0605c10 100644 --- a/sot/source/unoolestorage/xolesimplestorage.cxx +++ b/sot/source/unoolestorage/xolesimplestorage.cxx @@ -375,8 +375,7 @@ uno::Any SAL_CALL OLESimpleStorage::getByName( const OUString& aName ) uno::Any aResult; - uno::Reference< io::XStream > xTempFile( - io::TempFile::create(m_xContext), uno::UNO_QUERY ); + uno::Reference< io::XStream > xTempFile = io::TempFile::create(m_xContext); uno::Reference< io::XSeekable > xSeekable( xTempFile, uno::UNO_QUERY_THROW ); uno::Reference< io::XOutputStream > xOutputStream = xTempFile->getOutputStream(); uno::Reference< io::XInputStream > xInputStream = xTempFile->getInputStream(); |