diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 09:21:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 11:00:51 +0100 |
commit | eaf2c278888ebca0ac99055ee34df6f011da3596 (patch) | |
tree | 3177ca36a5eeac09b791ded9fc55d2d82e52c9cd /linguistic | |
parent | 498cb0b3a372ce1ec0e66640eb0badddff3f2e90 (diff) |
boost->std
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/defs.hxx | 6 | ||||
-rw-r--r-- | linguistic/source/hyphdsp.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/hyphdsp.hxx | 4 | ||||
-rw-r--r-- | linguistic/source/spelldsp.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/spelldsp.hxx | 4 | ||||
-rw-r--r-- | linguistic/source/thesdsp.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/thesdsp.hxx | 4 |
7 files changed, 11 insertions, 13 deletions
diff --git a/linguistic/source/defs.hxx b/linguistic/source/defs.hxx index ba67076cc0f8..ab86dfb7b1df 100644 --- a/linguistic/source/defs.hxx +++ b/linguistic/source/defs.hxx @@ -25,13 +25,11 @@ #include <com/sun/star/linguistic2/XHyphenator.hpp> #include <com/sun/star/linguistic2/XThesaurus.hpp> -#include <boost/shared_ptr.hpp> +#include <memory> class SvStream; - - -typedef boost::shared_ptr< SvStream > SvStreamPtr; +typedef std::shared_ptr< SvStream > SvStreamPtr; struct LangSvcEntries { diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx index fc93d5d97ad0..ae0da9935c13 100644 --- a/linguistic/source/hyphdsp.cxx +++ b/linguistic/source/hyphdsp.cxx @@ -682,7 +682,7 @@ void HyphenatorDispatcher::SetServiceList( const Locale &rLocale, } else { - boost::shared_ptr< LangSvcEntries_Hyph > pTmpEntry( new LangSvcEntries_Hyph( rSvcImplNames[0] ) ); + std::shared_ptr< LangSvcEntries_Hyph > pTmpEntry( new LangSvcEntries_Hyph( rSvcImplNames[0] ) ); pTmpEntry->aSvcRefs = Sequence< Reference < XHyphenator > >( 1 ); aSvcMap[ nLanguage ] = pTmpEntry; } diff --git a/linguistic/source/hyphdsp.hxx b/linguistic/source/hyphdsp.hxx index f887dabf9bd8..8360e32ffcc6 100644 --- a/linguistic/source/hyphdsp.hxx +++ b/linguistic/source/hyphdsp.hxx @@ -32,8 +32,8 @@ #include <cppuhelper/implbase.hxx> -#include <boost/shared_ptr.hpp> #include <map> +#include <memory> #include "lngopt.hxx" #include "linguistic/misc.hxx" @@ -49,7 +49,7 @@ class HyphenatorDispatcher : >, public LinguDispatcher { - typedef boost::shared_ptr< LangSvcEntries_Hyph > LangSvcEntries_Hyph_Ptr_t; + typedef std::shared_ptr< LangSvcEntries_Hyph > LangSvcEntries_Hyph_Ptr_t; typedef std::map< LanguageType, LangSvcEntries_Hyph_Ptr_t > HyphSvcByLangMap_t; HyphSvcByLangMap_t aSvcMap; diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index 83bfbadada9a..70cb45f2f1eb 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -820,7 +820,7 @@ void SpellCheckerDispatcher::SetServiceList( const Locale &rLocale, } else { - boost::shared_ptr< LangSvcEntries_Spell > pTmpEntry( new LangSvcEntries_Spell( rSvcImplNames ) ); + std::shared_ptr< LangSvcEntries_Spell > pTmpEntry( new LangSvcEntries_Spell( rSvcImplNames ) ); pTmpEntry->aSvcRefs = Sequence< Reference < XSpellChecker > >( nLen ); aSvcMap[ nLanguage ] = pTmpEntry; } diff --git a/linguistic/source/spelldsp.hxx b/linguistic/source/spelldsp.hxx index c50ec33123da..1b99c7d0aa4d 100644 --- a/linguistic/source/spelldsp.hxx +++ b/linguistic/source/spelldsp.hxx @@ -36,8 +36,8 @@ #include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp> #include <com/sun/star/linguistic2/XLinguServiceEventBroadcaster.hpp> -#include <boost/shared_ptr.hpp> #include <map> +#include <memory> #include <unotools/charclass.hxx> class LngSvcMgr; @@ -51,7 +51,7 @@ class SpellCheckerDispatcher : >, public LinguDispatcher { - typedef boost::shared_ptr< LangSvcEntries_Spell > LangSvcEntries_Spell_Ptr_t; + typedef std::shared_ptr< LangSvcEntries_Spell > LangSvcEntries_Spell_Ptr_t; typedef std::map< LanguageType, LangSvcEntries_Spell_Ptr_t > SpellSvcByLangMap_t; SpellSvcByLangMap_t aSvcMap; LinguOptions aOpt; diff --git a/linguistic/source/thesdsp.cxx b/linguistic/source/thesdsp.cxx index 2ccb8550921a..a0027a10c5cf 100644 --- a/linguistic/source/thesdsp.cxx +++ b/linguistic/source/thesdsp.cxx @@ -226,7 +226,7 @@ void ThesaurusDispatcher::SetServiceList( const Locale &rLocale, } else { - boost::shared_ptr< LangSvcEntries_Thes > pTmpEntry( new LangSvcEntries_Thes( rSvcImplNames ) ); + std::shared_ptr< LangSvcEntries_Thes > pTmpEntry( new LangSvcEntries_Thes( rSvcImplNames ) ); pTmpEntry->aSvcRefs = Sequence< Reference < XThesaurus > >( nLen ); aSvcMap[ nLanguage ] = pTmpEntry; } diff --git a/linguistic/source/thesdsp.hxx b/linguistic/source/thesdsp.hxx index bd1523349d0c..f16ee02bf101 100644 --- a/linguistic/source/thesdsp.hxx +++ b/linguistic/source/thesdsp.hxx @@ -37,8 +37,8 @@ #include <osl/mutex.hxx> -#include <boost/shared_ptr.hpp> #include <map> +#include <memory> #include "lngopt.hxx" @@ -51,7 +51,7 @@ class ThesaurusDispatcher : >, public LinguDispatcher { - typedef boost::shared_ptr< LangSvcEntries_Thes > LangSvcEntries_Thes_Ptr_t; + typedef std::shared_ptr< LangSvcEntries_Thes > LangSvcEntries_Thes_Ptr_t; typedef std::map< LanguageType, LangSvcEntries_Thes_Ptr_t > ThesSvcByLangMap_t; ThesSvcByLangMap_t aSvcMap; |