diff options
Diffstat (limited to 'i18npool/inc/indexentrysupplier_default.hxx')
-rw-r--r-- | i18npool/inc/indexentrysupplier_default.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/i18npool/inc/indexentrysupplier_default.hxx b/i18npool/inc/indexentrysupplier_default.hxx index 49b35580e3f4..901dc1d0f4c9 100644 --- a/i18npool/inc/indexentrysupplier_default.hxx +++ b/i18npool/inc/indexentrysupplier_default.hxx @@ -21,6 +21,8 @@ #include <indexentrysupplier_common.hxx> +#include <memory> + namespace com { namespace sun { namespace star { namespace i18n { class Index; @@ -53,7 +55,7 @@ public: throw (css::uno::RuntimeException, std::exception) override; private: - Index *index; + std::unique_ptr<Index> index; }; struct IndexKey { @@ -97,7 +99,7 @@ public: sal_Int16 mkeys[MAX_KEYS]; sal_Int16 mkey_count; OUString skipping_chars; - CollatorImpl *collator; + std::unique_ptr<CollatorImpl> collator; sal_Int16 compare(sal_Unicode c1, sal_Unicode c2); }; |