summaryrefslogtreecommitdiff
path: root/sfx2/source/menu
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 21:09:52 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 21:09:52 -0500
commit7bf761e85d65c66dc12c49de187ef2952d3f43a4 (patch)
treea41a165358658a7581078606b8861dcab7217397 /sfx2/source/menu
parentbc62d262fa73546d324b47348447ca135a4483b5 (diff)
targeted string re-work
Change-Id: I120b321166bb078b44d8b9894a1f906e9c6a611f
Diffstat (limited to 'sfx2/source/menu')
-rw-r--r--sfx2/source/menu/thessubmenu.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/menu/thessubmenu.cxx b/sfx2/source/menu/thessubmenu.cxx
index 21d44dc8ced5..c5665c7a59f3 100644
--- a/sfx2/source/menu/thessubmenu.cxx
+++ b/sfx2/source/menu/thessubmenu.cxx
@@ -79,8 +79,7 @@ SfxThesSubMenuHelper::SfxThesSubMenuHelper()
{
uno::Reference< lang::XMultiServiceFactory > xMSF( ::comphelper::getProcessServiceFactory(), uno::UNO_QUERY_THROW );
m_xLngMgr = uno::Reference< linguistic2::XLinguServiceManager >( xMSF->createInstance(
- OUString( RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.linguistic2.LinguServiceManager" ))), uno::UNO_QUERY_THROW );
+ OUString( "com.sun.star.linguistic2.LinguServiceManager" )), uno::UNO_QUERY_THROW );
m_xThesarus = m_xLngMgr->getThesaurus();
}
catch (const uno::Exception &)
@@ -154,7 +153,7 @@ String SfxThesSubMenuHelper::GetThesImplName( const lang::Locale &rLocale ) cons
if (m_xLngMgr.is())
{
uno::Sequence< OUString > aServiceNames = m_xLngMgr->getConfiguredServices(
- OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.linguistic2.Thesaurus")), rLocale );
+ OUString("com.sun.star.linguistic2.Thesaurus"), rLocale );
// there should be at most one thesaurus configured for each language
DBG_ASSERT( aServiceNames.getLength() <= 1, "more than one thesaurus found. Should not be possible" );
if (aServiceNames.getLength() == 1)