diff options
Diffstat (limited to 'sc/source/core/data/documen2.cxx')
-rw-r--r-- | sc/source/core/data/documen2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index 15a5a46066c8..05274b57691c 100644 --- a/sc/source/core/data/documen2.cxx +++ b/sc/source/core/data/documen2.cxx @@ -417,7 +417,7 @@ ScDocument::~ScDocument() delete pChartCollection; DeleteDrawLayer(); delete pFormatExchangeList; - delete pPrinter; + pPrinter.disposeAndClear(); ImplDeleteOptions(); delete pConsolidateDlgData; delete pClipData; @@ -426,7 +426,7 @@ ScDocument::~ScDocument() delete pEditEngine; delete pNoteEngine; delete pChangeViewSettings; // and delete - delete pVirtualDevice_100th_mm; + pVirtualDevice_100th_mm.disposeAndClear(); delete pDPCollection; |