diff options
Diffstat (limited to 'sc/source/ui/sidebar/CellLineStyleValueSet.cxx')
-rw-r--r-- | sc/source/ui/sidebar/CellLineStyleValueSet.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/source/ui/sidebar/CellLineStyleValueSet.cxx b/sc/source/ui/sidebar/CellLineStyleValueSet.cxx index eae59d67fa17..800c8b3ddc69 100644 --- a/sc/source/ui/sidebar/CellLineStyleValueSet.cxx +++ b/sc/source/ui/sidebar/CellLineStyleValueSet.cxx @@ -34,7 +34,13 @@ CellLineStyleValueSet::CellLineStyleValueSet( vcl::Window* pParent, const ResId& CellLineStyleValueSet::~CellLineStyleValueSet() { - delete pVDev; + disposeOnce(); +} + +void CellLineStyleValueSet::dispose() +{ + pVDev.disposeAndClear(); + ValueSet::dispose(); } void CellLineStyleValueSet::SetUnit(const OUString* str) |