diff options
Diffstat (limited to 'linguistic/source/lngsvcmgr.hxx')
-rw-r--r-- | linguistic/source/lngsvcmgr.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/linguistic/source/lngsvcmgr.hxx b/linguistic/source/lngsvcmgr.hxx index c2df4b502a99..5bd0ec2e2e5a 100644 --- a/linguistic/source/lngsvcmgr.hxx +++ b/linguistic/source/lngsvcmgr.hxx @@ -91,10 +91,10 @@ class LngSvcMgr : rtl::Reference<LngSvcMgrListenerHelper> mxListenerHelper; typedef std::vector< std::unique_ptr<SvcInfo> > SvcInfoArray; - SvcInfoArray * pAvailSpellSvcs; - SvcInfoArray * pAvailGrammarSvcs; - SvcInfoArray * pAvailHyphSvcs; - SvcInfoArray * pAvailThesSvcs; + std::unique_ptr<SvcInfoArray> pAvailSpellSvcs; + std::unique_ptr<SvcInfoArray> pAvailGrammarSvcs; + std::unique_ptr<SvcInfoArray> pAvailHyphSvcs; + std::unique_ptr<SvcInfoArray> pAvailThesSvcs; bool bDisposing; @@ -119,8 +119,6 @@ class LngSvcMgr : bool SaveCfgSvcs( const OUString &rServiceName ); - static void clearSvcInfoArray(SvcInfoArray *&rpInfo); - // utl::ConfigItem (to allow for listening of changes of relevant properties) virtual void Notify( const css::uno::Sequence< OUString > &rPropertyNames ) override; virtual void ImplCommit() override; |