diff options
Diffstat (limited to 'sax')
-rw-r--r-- | sax/test/saxdemo.cxx | 6 | ||||
-rw-r--r-- | sax/test/testcomponent.cxx | 3 |
2 files changed, 3 insertions, 6 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 ); diff --git a/sax/test/testcomponent.cxx b/sax/test/testcomponent.cxx index d34776789f8a..e498b2290908 100644 --- a/sax/test/testcomponent.cxx +++ b/sax/test/testcomponent.cxx @@ -68,8 +68,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 (const Exception&) |