summaryrefslogtreecommitdiff
path: root/sax/test
diff options
context:
space:
mode:
Diffstat (limited to 'sax/test')
-rw-r--r--sax/test/sax/testsax.cxx2
-rw-r--r--sax/test/saxdemo.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sax/test/sax/testsax.cxx b/sax/test/sax/testsax.cxx
index 3840da724f90..2e228b824c26 100644
--- a/sax/test/sax/testsax.cxx
+++ b/sax/test/sax/testsax.cxx
@@ -225,7 +225,7 @@ Reference < XInputStream > createStreamFromSequence(
const Reference < XMultiServiceFactory > &xSMgr )
{
Reference < XInterface > xOutStreamService =
- xSMgr->createInstance( OUString("com.sun.star.io.Pipe") );
+ xSMgr->createInstance("com.sun.star.io.Pipe");
OSL_ASSERT( xOutStreamService.is() );
Reference< XOutputStream > rOutStream( xOutStreamService , UNO_QUERY );
OSL_ASSERT( rOutStream.is() );
diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx
index a330e242f746..486752081668 100644
--- a/sax/test/saxdemo.cxx
+++ b/sax/test/saxdemo.cxx
@@ -573,7 +573,7 @@ int main (int argc, char **argv)
//----------------------
// The SAX-Writer demo
//----------------------
- x= xSMgr->createInstance( OUString("com.sun.star.xml.sax.Writer") );
+ x= xSMgr->createInstance("com.sun.star.xml.sax.Writer");
if( x.is() )
{
printf( "start writing to %s\n" , argv[2] );