From b08ded38b0e0eeb8d150e7f71137833396e22387 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 4 Jan 2013 15:39:44 +0100 Subject: oox: kill no longer needed CREATE_OUSTRING --- oox/source/ole/olestorage.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'oox/source/ole/olestorage.cxx') 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& ) { -- cgit