targetted string re-work

Change-Id: Icb84c34782dd41e0658f5f8ed4f689f149331d99
This commit is contained in:
Michael Meeks 2012-05-22 18:24:33 +01:00
parent 3858ba3585
commit f9a0fa94f2
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ namespace drawinglayer
if(xSet.is())
{
uno::Any aValue(xSet->getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DefaultControl"))));
uno::Any aValue(xSet->getPropertyValue("DefaultControl"));
rtl::OUString aUnoControlTypeName;
if(aValue >>= aUnoControlTypeName)

View File

@ -207,7 +207,7 @@ namespace drawinglayer
if(!xLocalBreakIterator.is())
{
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xMSF(::comphelper::getProcessServiceFactory());
xLocalBreakIterator.set(xMSF->createInstance(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.BreakIterator"))), ::com::sun::star::uno::UNO_QUERY);
xLocalBreakIterator.set(xMSF->createInstance("com.sun.star.i18n.BreakIterator"), ::com::sun::star::uno::UNO_QUERY);
}
if(xLocalBreakIterator.is() && getTextLength())

View File

@ -1098,7 +1098,7 @@ namespace drawinglayer
if(!mxBreakIterator.is())
{
uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xMSF(::comphelper::getProcessServiceFactory());
mxBreakIterator.set(xMSF->createInstance(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.BreakIterator"))), uno::UNO_QUERY);
mxBreakIterator.set(xMSF->createInstance("com.sun.star.i18n.BreakIterator"), uno::UNO_QUERY);
}
if(mxBreakIterator.is())