summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpchangemgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwpchangemgr.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpchangemgr.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwpchangemgr.cxx b/lotuswordpro/source/filter/lwpchangemgr.cxx
index ee1906865eb0..3816d8f52339 100644
--- a/lotuswordpro/source/filter/lwpchangemgr.cxx
+++ b/lotuswordpro/source/filter/lwpchangemgr.cxx
@@ -89,6 +89,7 @@ LwpChangeMgr::LwpChangeMgr()
m_pFribMap = &m_DocFribMap;
m_ChangeList.clear();
}
+
LwpChangeMgr::~LwpChangeMgr()
{
m_pFribMap=nullptr;
@@ -102,6 +103,7 @@ void LwpChangeMgr::AddChangeFrib(LwpFrib* pFrib)
m_nCounter++;
OUString sID = "ct"+ OUString::number(m_nCounter);
m_pFribMap->insert(std::pair<LwpFrib*,OUString>(pFrib,sID));
+ pFrib->Register(m_pFribMap);
}
OUString LwpChangeMgr::GetChangeID(LwpFrib* pFrib)