summaryrefslogtreecommitdiff
path: root/sax/test/saxdemo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/test/saxdemo.cxx')
-rw-r--r--sax/test/saxdemo.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx
index cc881ebb1bcc..9da50fa40922 100644
--- a/sax/test/saxdemo.cxx
+++ b/sax/test/saxdemo.cxx
@@ -499,8 +499,7 @@ int main (int argc, char **argv)
try
{
// Create registration service
- Reference < XInterface > x = xSMgr->createInstance(
- OUString("com.sun.star.registry.ImplementationRegistration") );
+ Reference < XInterface > x = xSMgr->createInstance( "com.sun.star.registry.ImplementationRegistration" );
xReg = Reference< XImplementationRegistration > ( x , UNO_QUERY );
}
catch( Exception & ) {
@@ -530,8 +529,7 @@ int main (int argc, char **argv)
// parser demo
// read xml from a file and count elements
- Reference< XInterface > x = xSMgr->createInstance(
- OUString("com.sun.star.xml.sax.Parser") );
+ Reference< XInterface > x = xSMgr->createInstance( "com.sun.star.xml.sax.Parser" );
if( x.is() )
{
Reference< XParser > rParser( x , UNO_QUERY );