diff options
Diffstat (limited to 'linguistic/source/lngsvcmgr.hxx')
-rw-r--r-- | linguistic/source/lngsvcmgr.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/linguistic/source/lngsvcmgr.hxx b/linguistic/source/lngsvcmgr.hxx index 5a56eaaaae21..0f37e041b1be 100644 --- a/linguistic/source/lngsvcmgr.hxx +++ b/linguistic/source/lngsvcmgr.hxx @@ -35,6 +35,7 @@ #include <vcl/idle.hxx> #include <vector> #include <memory> +#include <optional> class SpellCheckerDispatcher; class HyphenatorDispatcher; @@ -87,11 +88,11 @@ class LngSvcMgr : rtl::Reference<LngSvcMgrListenerHelper> mxListenerHelper; - typedef std::vector< std::unique_ptr<SvcInfo> > SvcInfoArray; - std::unique_ptr<SvcInfoArray> pAvailSpellSvcs; - std::unique_ptr<SvcInfoArray> pAvailGrammarSvcs; - std::unique_ptr<SvcInfoArray> pAvailHyphSvcs; - std::unique_ptr<SvcInfoArray> pAvailThesSvcs; + typedef std::vector< SvcInfo > SvcInfoArray; + std::optional<SvcInfoArray> pAvailSpellSvcs; + std::optional<SvcInfoArray> pAvailGrammarSvcs; + std::optional<SvcInfoArray> pAvailHyphSvcs; + std::optional<SvcInfoArray> pAvailThesSvcs; bool bDisposing; |