diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-22 22:32:51 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-22 22:32:51 +0100 |
commit | 8c779305bca6b2ca4badadb1ed0c89dc092f287f (patch) | |
tree | 8e5318e2afbd3df93df72c5e8d89374add889f1c /svl/source/misc/sharecontrolfile.cxx | |
parent | bd80ff75a216d6494a1de64896856f4bbccc52ff (diff) |
RTL_CONSTASCII_USTRINGPARAM in libs-gui 07
Diffstat (limited to 'svl/source/misc/sharecontrolfile.cxx')
-rw-r--r-- | svl/source/misc/sharecontrolfile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/misc/sharecontrolfile.cxx b/svl/source/misc/sharecontrolfile.cxx index c00a8f916f2d..6d4f4975869c 100644 --- a/svl/source/misc/sharecontrolfile.cxx +++ b/svl/source/misc/sharecontrolfile.cxx @@ -118,7 +118,7 @@ void ShareControlFile::OpenStream() ucb::InsertCommandArgument aInsertArg; aInsertArg.Data = xInput; aInsertArg.ReplaceExisting = sal_False; - aContent.executeCommand( rtl::OUString::createFromAscii( "insert" ), uno::makeAny( aInsertArg ) ); + aContent.executeCommand( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("insert")), uno::makeAny( aInsertArg ) ); // try to let the file be hidden if possible try { @@ -365,7 +365,7 @@ void ShareControlFile::RemoveFile() uno::Reference< lang::XMultiServiceFactory > xFactory = ::comphelper::getProcessServiceFactory(); uno::Reference< ::com::sun::star::ucb::XSimpleFileAccess > xSimpleFileAccess( - xFactory->createInstance( ::rtl::OUString::createFromAscii("com.sun.star.ucb.SimpleFileAccess") ), + xFactory->createInstance( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ucb.SimpleFileAccess")) ), uno::UNO_QUERY_THROW ); xSimpleFileAccess->kill( m_aURL ); } |