summaryrefslogtreecommitdiff
path: root/unotools/source/config/accelcfg.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-22 22:54:33 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-22 22:54:33 +0100
commit7d0f24c822b0f8af6b0b5fa82ed6bd288cdebe96 (patch)
treedcf7e38704e01f7037ece56e108db3d5faef9372 /unotools/source/config/accelcfg.cxx
parentf39607df602883c20c8769a1a2e77bcba1f880d9 (diff)
RTL_CONSTASCII_USTRINGPARAM in libs-gui 09
Diffstat (limited to 'unotools/source/config/accelcfg.cxx')
-rw-r--r--unotools/source/config/accelcfg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/accelcfg.cxx b/unotools/source/config/accelcfg.cxx
index a44e9639dcbf..5c96ab7d049f 100644
--- a/unotools/source/config/accelcfg.cxx
+++ b/unotools/source/config/accelcfg.cxx
@@ -84,7 +84,7 @@ SvtAcceleratorConfig_Impl::SvtAcceleratorConfig_Impl( Reference< XInputStream >&
: bModified( false )
{
Reference< XParser > xParser( ::comphelper::getProcessServiceFactory()->createInstance(
- ::rtl::OUString::createFromAscii( "com.sun.star.xml.sax.Parser" )),
+ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Parser"))),
UNO_QUERY);
// connect stream to input stream to the parser
@@ -104,7 +104,7 @@ bool SvtAcceleratorConfig_Impl::Commit( Reference< XOutputStream >& rOutputStrea
Reference< XDocumentHandler > xWriter;
xWriter = Reference< XDocumentHandler >( ::comphelper::getProcessServiceFactory()->createInstance(
- ::rtl::OUString::createFromAscii( "com.sun.star.xml.sax.Writer" )), UNO_QUERY) ;
+ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.sax.Writer"))), UNO_QUERY) ;
Reference< ::com::sun::star::io::XActiveDataSource> xDataSource( xWriter , UNO_QUERY );
xDataSource->setOutputStream( rOutputStream );