targetted string re-work
Change-Id: Icb84c34782dd41e0658f5f8ed4f689f149331d99
This commit is contained in:
parent
3858ba3585
commit
f9a0fa94f2
@ -64,7 +64,7 @@ namespace drawinglayer
|
|||||||
|
|
||||||
if(xSet.is())
|
if(xSet.is())
|
||||||
{
|
{
|
||||||
uno::Any aValue(xSet->getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DefaultControl"))));
|
uno::Any aValue(xSet->getPropertyValue("DefaultControl"));
|
||||||
rtl::OUString aUnoControlTypeName;
|
rtl::OUString aUnoControlTypeName;
|
||||||
|
|
||||||
if(aValue >>= aUnoControlTypeName)
|
if(aValue >>= aUnoControlTypeName)
|
||||||
|
@ -207,7 +207,7 @@ namespace drawinglayer
|
|||||||
if(!xLocalBreakIterator.is())
|
if(!xLocalBreakIterator.is())
|
||||||
{
|
{
|
||||||
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xMSF(::comphelper::getProcessServiceFactory());
|
::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())
|
if(xLocalBreakIterator.is() && getTextLength())
|
||||||
|
@ -1098,7 +1098,7 @@ namespace drawinglayer
|
|||||||
if(!mxBreakIterator.is())
|
if(!mxBreakIterator.is())
|
||||||
{
|
{
|
||||||
uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xMSF(::comphelper::getProcessServiceFactory());
|
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())
|
if(mxBreakIterator.is())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user