diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-01-04 15:39:44 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-01-04 16:11:57 +0100 |
commit | b08ded38b0e0eeb8d150e7f71137833396e22387 (patch) | |
tree | 1086ed768d281a6ed91b8c1347becc57fbbb2061 /oox/source/ole/olestorage.cxx | |
parent | b53d03f4c970f13f9849c01f1d0b6ad42185148d (diff) |
oox: kill no longer needed CREATE_OUSTRING
Diffstat (limited to 'oox/source/ole/olestorage.cxx')
-rw-r--r-- | oox/source/ole/olestorage.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/oox/source/ole/olestorage.cxx b/oox/source/ole/olestorage.cxx index 26b16a15e372..d6d47f04c1f0 100644 --- a/oox/source/ole/olestorage.cxx +++ b/oox/source/ole/olestorage.cxx @@ -246,8 +246,7 @@ void OleStorage::initStorage( const Reference< XInputStream >& rxInStream ) Sequence< Any > aArgs( 2 ); aArgs[ 0 ] <<= xInStrm; aArgs[ 1 ] <<= true; // true = do not create a copy of the input stream - mxStorage.set( xFactory->createInstanceWithArguments( - CREATE_OUSTRING( "com.sun.star.embed.OLESimpleStorage" ), aArgs ), UNO_QUERY_THROW ); + mxStorage.set( xFactory->createInstanceWithArguments("com.sun.star.embed.OLESimpleStorage", aArgs ), UNO_QUERY_THROW ); } catch(const Exception& ) { @@ -263,8 +262,7 @@ void OleStorage::initStorage( const Reference< XStream >& rxOutStream ) Sequence< Any > aArgs( 2 ); aArgs[ 0 ] <<= rxOutStream; aArgs[ 1 ] <<= true; // true = do not create a copy of the stream - mxStorage.set( xFactory->createInstanceWithArguments( - CREATE_OUSTRING( "com.sun.star.embed.OLESimpleStorage" ), aArgs ), UNO_QUERY_THROW ); + mxStorage.set( xFactory->createInstanceWithArguments("com.sun.star.embed.OLESimpleStorage", aArgs ), UNO_QUERY_THROW ); } catch(const Exception& ) { |