[Libreoffice-commits] core.git: svtools/source
Caolán McNamara
caolanm at redhat.com
Wed Jun 24 13:12:46 PDT 2015
svtools/source/config/optionsdrawinglayer.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit a8be3fba0a8678392c9bef9a3a2ced3cedef36f0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jun 24 20:39:00 2015 +0100
uncommitted SvtOptionsDrawinglayer_Impl
Change-Id: I625722d3c9e915c0f90265c5036e7c03fe9052df
diff --git a/svtools/source/config/optionsdrawinglayer.cxx b/svtools/source/config/optionsdrawinglayer.cxx
index d706f5e..b4bd909 100644
--- a/svtools/source/config/optionsdrawinglayer.cxx
+++ b/svtools/source/config/optionsdrawinglayer.cxx
@@ -869,6 +869,8 @@ SvtOptionsDrawinglayer::~SvtOptionsDrawinglayer()
// we must destroy our static data container!
if( m_nRefCount <= 0 )
{
+ if (m_pDataContainer->IsModified())
+ m_pDataContainer->Commit();
delete m_pDataContainer;
m_pDataContainer = NULL;
}
More information about the Libreoffice-commits
mailing list