summaryrefslogtreecommitdiff
path: root/i18npool/inc/defaultnumberingprovider.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/inc/defaultnumberingprovider.hxx')
-rw-r--r--i18npool/inc/defaultnumberingprovider.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/i18npool/inc/defaultnumberingprovider.hxx b/i18npool/inc/defaultnumberingprovider.hxx
index 5140a553ef6b..200dc0b529bd 100644
--- a/i18npool/inc/defaultnumberingprovider.hxx
+++ b/i18npool/inc/defaultnumberingprovider.hxx
@@ -29,6 +29,8 @@
#include <transliterationImpl.hxx>
+#include <memory>
+
namespace com { namespace sun { namespace star { namespace i18n {
class DefaultNumberingProvider : public cppu::WeakImplHelper
@@ -83,7 +85,7 @@ public:
private:
css::uno::Reference < css::uno::XComponentContext > m_xContext;
css::uno::Reference < css::container::XHierarchicalNameAccess > xHierarchicalNameAccess;
- TransliterationImpl* translit;
+ std::unique_ptr<TransliterationImpl> translit;
OUString SAL_CALL makeNumberingIdentifier( sal_Int16 index )
throw(css::uno::RuntimeException, std::exception);
bool SAL_CALL isScriptFlagEnabled(const OUString& aName )