summaryrefslogtreecommitdiffstats
path: root/starmath/source/cfgitem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/cfgitem.hxx')
-rw-r--r--starmath/source/cfgitem.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/starmath/source/cfgitem.hxx b/starmath/source/cfgitem.hxx
index 2fe2cdd8c03d..5b881eba6f9c 100644
--- a/starmath/source/cfgitem.hxx
+++ b/starmath/source/cfgitem.hxx
@@ -33,6 +33,7 @@
#include <symbol.hxx>
#include <types.hxx>
+#include <memory>
class SmSym;
class SmFormat;
@@ -92,10 +93,10 @@ public:
class SmMathConfig : public utl::ConfigItem
{
- SmFormat * pFormat;
- SmCfgOther * pOther;
- SmFontFormatList * pFontFormatList;
- SmSymbolManager * pSymbolMgr;
+ std::unique_ptr<SmFormat> pFormat;
+ std::unique_ptr<SmCfgOther> pOther;
+ std::unique_ptr<SmFontFormatList> pFontFormatList;
+ std::unique_ptr<SmSymbolManager> pSymbolMgr;
bool bIsOtherModified;
bool bIsFormatModified;