diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-17 13:21:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-17 13:21:50 +0200 |
commit | b5eaa0f9f00cd62f4769c3e8860d788844ccf557 (patch) | |
tree | 3d939a679a3dc4dc7aea39e22928e720f1ce5106 /sw/inc/acmplwrd.hxx | |
parent | 048a32d903c8cc81a8836c7c7209b92e0bfd6cd7 (diff) |
use unique_ptr for pImpl in sw/
Change-Id: I8508894d70e1ff16cfb9d7a9d716f11a923f453d
Diffstat (limited to 'sw/inc/acmplwrd.hxx')
-rw-r--r-- | sw/inc/acmplwrd.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/acmplwrd.hxx b/sw/inc/acmplwrd.hxx index 1f78fea460c7..01d7ee14335c 100644 --- a/sw/inc/acmplwrd.hxx +++ b/sw/inc/acmplwrd.hxx @@ -21,6 +21,7 @@ #define INCLUDED_SW_INC_ACMPLWRD_HXX #include <deque> +#include <memory> #include <editeng/swafopt.hxx> #include <editeng/Trie.hxx> @@ -42,7 +43,7 @@ class SwAutoCompleteWord editeng::Trie m_LookupTree; SwAutoCompleteStringPtrDeque aLRULst; - SwAutoCompleteWord_Impl* pImpl; + std::unique_ptr<SwAutoCompleteWord_Impl> pImpl; sal_uInt16 nMaxCount, nMinWrdLen; bool bLockWordLst; |