| commit | 8904bf48e0cb4d5d0890684ce82dc2ff3252e41f | [log] |
|---|---|---|
| author | Michael Stahl <mstahl@redhat.com> | Tue Jul 07 23:57:07 2015 +0200 |
| committer | Michael Stahl <mstahl@redhat.com> | Wed Jul 08 11:26:57 2015 +0200 |
| tree | 865863101e6e97740dd997eeb086a6cc7321da17 | |
| parent | 1302fbe6a1872e3234dee3902079970d8672db92 [diff] |
sd: dispose SdStyleSheet properly If it's disposed during document destruction it still retained pointers to SfxItemSet and SfxStyleSheetBasePool. Change-Id: I7b986b4fe5ca466f0fa86a99b744f5e2f85e08be
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 4ed6289..050b1c0 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx
@@ -773,6 +773,13 @@ void SdStyleSheet::disposing() { SolarMutexGuard aGuard; if (bMySet) { delete pSet; } pSet = nullptr; pPool = nullptr; mxPool.clear(); }