diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-11 00:04:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-13 11:43:07 +0100 |
commit | 9bcad6f6a21afe50df2c1c9db4cae3e6b2723d20 (patch) | |
tree | 2de561f43c91fc992ec48d88731a03767d2f3729 /scripting | |
parent | createFromAscii -> RTL_CONSTASCII_USTRINGPARAM (diff) | |
download | core-9bcad6f6a21afe50df2c1c9db4cae3e6b2723d20.tar.gz core-9bcad6f6a21afe50df2c1c9db4cae3e6b2723d20.zip |
createFromAscii -> RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/dlgprov/DialogModelProvider.cxx | 2 | ||||
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/dlgprov/DialogModelProvider.cxx b/scripting/source/dlgprov/DialogModelProvider.cxx index 462aaa1d95d7..4601e2ebca5b 100644 --- a/scripting/source/dlgprov/DialogModelProvider.cxx +++ b/scripting/source/dlgprov/DialogModelProvider.cxx @@ -82,7 +82,7 @@ void SAL_CALL DialogModelProvider::initialize(const css::uno::Sequence< uno::Any Reference< XMultiComponentFactory > xSMgr( m_xContext->getServiceManager(), UNO_QUERY_THROW ); Reference< ucb::XSimpleFileAccess > xSFI = Reference< ucb::XSimpleFileAccess >( xSMgr->createInstanceWithContext - ( ::rtl::OUString::createFromAscii( "com.sun.star.ucb.SimpleFileAccess" ), m_xContext ), UNO_QUERY ); + ( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ucb.SimpleFileAccess")), m_xContext ), UNO_QUERY ); try { diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index 43a35f4af568..39ccc33de281 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -120,7 +120,7 @@ static ::rtl::OUString aResourceResolverPropName(RTL_CONSTASCII_USTRINGPARAM("Re Reference< XMultiComponentFactory > xSMgr_( i_xContext->getServiceManager(), UNO_QUERY_THROW ); // TODO: Ctor Reference< resource::XStringResourceManager > xStringResourceManager( xSMgr_->createInstanceWithContext - ( ::rtl::OUString::createFromAscii( "com.sun.star.resource.StringResourceWithLocation" ), + ( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.resource.StringResourceWithLocation")), i_xContext ), UNO_QUERY ); if( xStringResourceManager.is() ) { |