diff options
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/basprov/basmethnode.cxx | 2 | ||||
-rw-r--r-- | scripting/source/basprov/basprov.cxx | 2 | ||||
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 5 |
3 files changed, 4 insertions, 5 deletions
diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx index 51ff569c1da7..9bfa752ee2d7 100644 --- a/scripting/source/basprov/basmethnode.cxx +++ b/scripting/source/basprov/basmethnode.cxx @@ -269,7 +269,7 @@ namespace basprov aArgs[3].Value <<= OUString("Module"); aArgs[4].Name = "Line"; aArgs[4].Value <<= static_cast< sal_uInt32 >( nLine1 ); - xHelper->executeDispatch( xProv, OUString(".uno:BasicIDEAppear"), OUString(), 0, aArgs ); + xHelper->executeDispatch( xProv, ".uno:BasicIDEAppear", OUString(), 0, aArgs ); } } } diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx index ad70df0e7c01..594d7ded6bea 100644 --- a/scripting/source/basprov/basprov.cxx +++ b/scripting/source/basprov/basprov.cxx @@ -309,7 +309,7 @@ namespace basprov OUString aDescription = sfUri->getName(); - OUString aLocation = sfUri->getParameter( OUString("location") ); + OUString aLocation = sfUri->getParameter( "location" ); sal_Int32 nIndex = 0; // In some strange circumstances the Library name can have an diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index 1107fc711094..1d51a3ae3fbc 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -112,7 +112,7 @@ static const char aResourceResolverPropName[] = "ResourceResolver"; Reference< XMultiComponentFactory > xSMgr_( i_xContext->getServiceManager(), UNO_QUERY_THROW ); // TODO: Ctor Reference< resource::XStringResourceManager > xStringResourceManager( xSMgr_->createInstanceWithContext - ( OUString("com.sun.star.resource.StringResourceWithLocation"), + ( "com.sun.star.resource.StringResourceWithLocation", i_xContext ), UNO_QUERY ); if( xStringResourceManager.is() ) { @@ -325,8 +325,7 @@ static const char aResourceResolverPropName[] = "ResourceResolver"; if ( nIndex != -1 ) sDlgName = sDescription.getToken( 0, (sal_Unicode)'.', nIndex ); - OUString sLocation = sfUri->getParameter( - OUString("location") ); + OUString sLocation = sfUri->getParameter( "location" ); // get dialog library container |