summaryrefslogtreecommitdiff
path: root/i18npool/inc/inputsequencechecker.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/inc/inputsequencechecker.hxx')
-rw-r--r--i18npool/inc/inputsequencechecker.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/i18npool/inc/inputsequencechecker.hxx b/i18npool/inc/inputsequencechecker.hxx
index 52963b3be171..eff426f5caa3 100644
--- a/i18npool/inc/inputsequencechecker.hxx
+++ b/i18npool/inc/inputsequencechecker.hxx
@@ -25,6 +25,7 @@
#include <vector>
#include <memory>
+#include <optional>
namespace com::sun::star::uno { class XComponentContext; }
@@ -63,8 +64,8 @@ private:
const char* aLanguage;
css::uno::Reference < css::i18n::XExtendedInputSequenceChecker > xISC;
};
- std::vector<std::unique_ptr<lookupTableItem>> lookupTable;
- lookupTableItem *cachedItem;
+ std::vector<lookupTableItem> lookupTable;
+ std::optional<lookupTableItem> cachedItem;
css::uno::Reference < css::uno::XComponentContext > m_xContext;