summaryrefslogtreecommitdiff
path: root/filter/source/config/cache/basecontainer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/config/cache/basecontainer.hxx')
-rw-r--r--filter/source/config/cache/basecontainer.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx
index 9c0f9246eba4..95589b2b9abb 100644
--- a/filter/source/config/cache/basecontainer.hxx
+++ b/filter/source/config/cache/basecontainer.hxx
@@ -19,6 +19,8 @@
#ifndef INCLUDED_FILTER_SOURCE_CONFIG_CACHE_BASECONTAINER_HXX
#define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_BASECONTAINER_HXX
+#include <memory>
+
#include "filtercache.hxx"
#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -87,7 +89,7 @@ class BaseContainer : public BaseLock
m_rCache listen on the global configuration, where m_pFlushCache
write its data. m_rCache update itself automatically.
*/
- FilterCache* m_pFlushCache;
+ std::unique_ptr<FilterCache> m_pFlushCache;
/** @short specify, which sub container of the used filter cache
must be wrapped by this container interface. */