diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-20 23:08:41 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 13:06:13 +0100 |
commit | c612c3b0aed9ad7f7f42b4313f821b71995ead15 (patch) | |
tree | f6c673bccab1a0a6391315fde5966541eaf55d96 /basctl | |
parent | a8dc965511f5f8e276eb4797ac0c37479907a079 (diff) |
protect more printer code-paths.
Change-Id: Ic5bc5c3325b460cba0d95484454c9bb826684890
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basdoc.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/basctl/source/basicide/basdoc.cxx b/basctl/source/basicide/basdoc.cxx index ee96c23795e0..41b6dd74b8c2 100644 --- a/basctl/source/basicide/basdoc.cxx +++ b/basctl/source/basicide/basdoc.cxx @@ -51,7 +51,9 @@ DocShell::DocShell() } DocShell::~DocShell() -{ } +{ + pPrinter.disposeAndClear(); +} SfxPrinter* DocShell::GetPrinter( bool bCreate ) { |