diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-06 15:11:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-06 16:28:27 +0100 |
commit | a388bf33049f4792b3170883715456aa00ea61ec (patch) | |
tree | 719b945c386a00b1cbf478e1e6763a35e0d0eb98 /sfx2 | |
parent | 7ede0090ccf4d3ffc7cf5bbd7e913113cc729ebf (diff) |
ByteString->rtl::OStringBuffer
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 021824698cf3..40c27c203dfb 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -462,9 +462,9 @@ SfxDispatchController_Impl::SfxDispatchController_Impl( { if ( aDispatchURL.Protocol.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("slot:")) && pUnoName ) { - ByteString aTmp(".uno:"); - aTmp += pUnoName; - aDispatchURL.Complete = ::rtl::OUString::createFromAscii( aTmp.GetBuffer() ); + rtl::OStringBuffer aTmp(RTL_CONSTASCII_STRINGPARAM(".uno:")); + aTmp.append(pUnoName); + aDispatchURL.Complete = ::rtl::OStringToOUString(aTmp.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US); Reference < ::com::sun::star::util::XURLTransformer > xTrans( ::comphelper::getProcessServiceFactory()->createInstance( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.util.URLTransformer"))), UNO_QUERY ); xTrans->parseStrict( aDispatchURL ); } |