summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-25 20:20:22 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-25 21:01:42 +0100
commit20ddd5fe50bb2a9c62d6279ff118437fdbaf2102 (patch)
tree1ac3d51920e4324d3d8ce5a8a1d7a052fa0bdf7b /svx
parent5c706efc9e5dbc1b166e8bbc8b1e37b2ecd2f72e (diff)
tdf#91525 - dispose SfxControllerItem member.
Change-Id: I71b32c1db2f4695deb90412e83b9e7883e9bf1d7
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/_bmpmask.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/_bmpmask.cxx b/svx/source/dialog/_bmpmask.cxx
index 90d97f3d513c..b7b7217184a8 100644
--- a/svx/source/dialog/_bmpmask.cxx
+++ b/svx/source/dialog/_bmpmask.cxx
@@ -335,8 +335,6 @@ SvxBmpMaskSelectItem::SvxBmpMaskSelectItem( sal_uInt16 nId_, SvxBmpMask& rMask,
{
}
-
-
void SvxBmpMaskSelectItem::StateChanged( sal_uInt16 nSID, SfxItemState /*eState*/,
const SfxPoolItem* pItem )
{
@@ -487,6 +485,7 @@ void SvxBmpMask::dispose()
m_pQSet4.disposeAndClear();
m_pCtlPipette.disposeAndClear();
delete pData;
+ pData = NULL;
m_pTbxPipette.clear();
m_pBtnExec.clear();
m_pCbx1.clear();
@@ -503,6 +502,7 @@ void SvxBmpMask::dispose()
m_pLbColor4.clear();
m_pCbxTrans.clear();
m_pLbColorTrans.clear();
+ aSelItem.dispose();
SfxDockingWindow::dispose();
}