diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-20 14:59:22 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 13:01:47 +0100 |
commit | 58a43332b3a86db3756e6ad18e31189969c85364 (patch) | |
tree | ab71067a374e6b88d5792a4a22ee58d32ffad74b /sw/source/ui/envelp/labprt.cxx | |
parent | e0eecf8ad57aa207d1db7fc63d9ad8f8d54866e4 (diff) |
wrap more stuff in VclPtr
Change-Id: I2f0d8a4fe426d8ee1ac55a05ae8dd0b44f9aab2b
Diffstat (limited to 'sw/source/ui/envelp/labprt.cxx')
-rw-r--r-- | sw/source/ui/envelp/labprt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/labprt.cxx b/sw/source/ui/envelp/labprt.cxx index de7d3cf3c029..77be9df13fc2 100644 --- a/sw/source/ui/envelp/labprt.cxx +++ b/sw/source/ui/envelp/labprt.cxx @@ -67,7 +67,7 @@ SwLabPrtPage::~SwLabPrtPage() void SwLabPrtPage::dispose() { - delete pPrinter; + pPrinter.disposeAndClear(); m_pPageButton.clear(); m_pSingleButton.clear(); m_pSingleGrid.clear(); |