diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 22:56:28 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-06-02 22:56:28 -0500 |
commit | d8e3eb234b729e9b3d9b8d81abd27f228fd06687 (patch) | |
tree | 6f14553da758b0c744eae5b367b6a84e103f86f8 /linguistic/source/lngsvcmgr.cxx | |
parent | 1d1b5c46cd6eeb60c4ec9db1fb6ab084e98cf5a6 (diff) |
targeted string re-work
Change-Id: I6f5075e40d820c91b3fa8a359564da4a4d098032
Diffstat (limited to 'linguistic/source/lngsvcmgr.cxx')
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 63ee7b0c7cb9..b41dc22f5ae3 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -459,7 +459,7 @@ sal_Bool LngSvcMgrListenerHelper::RemoveLngSvcEvtBroadcaster( LngSvcMgr::LngSvcMgr() - : utl::ConfigItem(OUString(RTL_CONSTASCII_USTRINGPARAM("Office.Linguistic"))) + : utl::ConfigItem(OUString("Office.Linguistic")) , aEvtListeners(GetLinguMutex()) { bDisposing = sal_False; @@ -756,7 +756,7 @@ void LngSvcMgr::GetAvailableSpellSvcs_Impl() uno::Reference < uno::XComponentContext > xContext; uno::Reference< beans::XPropertySet > xProps( xFac, uno::UNO_QUERY ); - xProps->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "DefaultContext" ))) >>= xContext; + xProps->getPropertyValue( OUString( "DefaultContext" )) >>= xContext; xSvc = uno::Reference< linguistic2::XSpellChecker >( ( xCompFactory.is() ? xCompFactory->createInstanceWithContext( xContext ) : xFactory->createInstance() ), uno::UNO_QUERY ); } catch (const uno::Exception &) @@ -821,7 +821,7 @@ void LngSvcMgr::GetAvailableGrammarSvcs_Impl() uno::Reference < uno::XComponentContext > xContext; uno::Reference< beans::XPropertySet > xProps( xFac, uno::UNO_QUERY ); - xProps->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "DefaultContext" ))) >>= xContext; + xProps->getPropertyValue( OUString( "DefaultContext" )) >>= xContext; xSvc = uno::Reference< linguistic2::XProofreader >( ( xCompFactory.is() ? xCompFactory->createInstanceWithContext( xContext ) : xFactory->createInstance() ), uno::UNO_QUERY ); } catch (const uno::Exception &) @@ -884,7 +884,7 @@ void LngSvcMgr::GetAvailableHyphSvcs_Impl() uno::Reference < uno::XComponentContext > xContext; uno::Reference< beans::XPropertySet > xProps( xFac, uno::UNO_QUERY ); - xProps->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "DefaultContext" ))) >>= xContext; + xProps->getPropertyValue( OUString( "DefaultContext" )) >>= xContext; xSvc = uno::Reference< linguistic2::XHyphenator >( ( xCompFactory.is() ? xCompFactory->createInstanceWithContext( xContext ) : xFactory->createInstance() ), uno::UNO_QUERY ); } @@ -951,7 +951,7 @@ void LngSvcMgr::GetAvailableThesSvcs_Impl() uno::Reference < uno::XComponentContext > xContext; uno::Reference< beans::XPropertySet > xProps( xFac, uno::UNO_QUERY ); - xProps->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "DefaultContext" ))) >>= xContext; + xProps->getPropertyValue( OUString( "DefaultContext" )) >>= xContext; xSvc = uno::Reference< linguistic2::XThesaurus >( ( xCompFactory.is() ? xCompFactory->createInstanceWithContext( xContext ) : xFactory->createInstance() ), uno::UNO_QUERY ); } catch (const uno::Exception &) @@ -1632,7 +1632,7 @@ uno::Sequence< OUString > SAL_CALL OUString *pNames = aNames.getArray(); if ( 0 == rServiceName.compareToAscii( SN_SPELLCHECKER ) ) { - OUString aNode( RTL_CONSTASCII_USTRINGPARAM("ServiceManager/SpellCheckerList")); + OUString aNode( "ServiceManager/SpellCheckerList"); const uno::Sequence< OUString > aNodeEntries( GetNodeNames( aNode ) ); if (lcl_SeqHasString( aNodeEntries, aCfgLocale )) { @@ -1647,7 +1647,7 @@ uno::Sequence< OUString > SAL_CALL } else if ( 0 == rServiceName.compareToAscii( SN_GRAMMARCHECKER ) ) { - OUString aNode( RTL_CONSTASCII_USTRINGPARAM("ServiceManager/GrammarCheckerList")); + OUString aNode( "ServiceManager/GrammarCheckerList"); const uno::Sequence< OUString > aNodeEntries( GetNodeNames( aNode ) ); if (lcl_SeqHasString( aNodeEntries, aCfgLocale )) { @@ -1662,7 +1662,7 @@ uno::Sequence< OUString > SAL_CALL } else if ( 0 == rServiceName.compareToAscii( SN_HYPHENATOR ) ) { - OUString aNode( RTL_CONSTASCII_USTRINGPARAM("ServiceManager/HyphenatorList")); + OUString aNode( "ServiceManager/HyphenatorList"); const uno::Sequence< OUString > aNodeEntries( GetNodeNames( aNode ) ); if (lcl_SeqHasString( aNodeEntries, aCfgLocale )) { @@ -1677,7 +1677,7 @@ uno::Sequence< OUString > SAL_CALL } else if ( 0 == rServiceName.compareToAscii( SN_THESAURUS ) ) { - OUString aNode( RTL_CONSTASCII_USTRINGPARAM("ServiceManager/ThesaurusList")); + OUString aNode( "ServiceManager/ThesaurusList"); const uno::Sequence< OUString > aNodeEntries( GetNodeNames( aNode ) ); if (lcl_SeqHasString( aNodeEntries, aCfgLocale )) { |