targeted string re-work

Change-Id: I17bec612eb6d50acc4bf8ac8ea4299fd2380afb5
This commit is contained in:
Norbert Thiebaud 2012-06-02 16:42:29 -05:00
parent 6933730601
commit c2966ec959

View file

@ -2310,8 +2310,7 @@ void DomainMapper_Impl::handleAuthor
break;
}
}
::rtl::OUString sServiceName(RTL_CONSTASCII_USTRINGPARAM
("com.sun.star.text.TextField."));
::rtl::OUString sServiceName("com.sun.star.text.TextField.");
bool bIsCustomField = false;
if(sFieldServiceName.isEmpty())
{
@ -2465,8 +2464,7 @@ void DomainMapper_Impl::handleToc
xTOC.set(
m_xTextFactory->createInstance
( bTableOfFigures ?
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM
("com.sun.star.text.IllustrationsIndex"))
::rtl::OUString("com.sun.star.text.IllustrationsIndex")
: sTOCServiceName),
uno::UNO_QUERY_THROW);
if (xTOC.is())