summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-08 10:50:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-08-08 12:28:32 +0100
commit74886eb9ac87f33bee6df4876a65cf62337550dd (patch)
treed7a1a9b9801745ad9e7c26dffd989cb4a73e22c3
parentb10a5e4c3c3e0c95abd1f8b3d102c506b7e54c29 (diff)
mpPostYieldListeners dtor never called
Change-Id: I5d39910647288988363751cd53f1dce6781450b1
-rwxr-xr-xunusedcode.easy1
-rw-r--r--vcl/source/app/svmain.cxx5
2 files changed, 5 insertions, 1 deletions
diff --git a/unusedcode.easy b/unusedcode.easy
index b0b79a283a4e..5188d8f0f0c3 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -40,7 +40,6 @@ ThumbnailViewItemAcc::getImplementation(com::sun::star::uno::Reference<com::sun:
TransferableDataHelper::GetInterface(com::sun::star::datatransfer::DataFlavor const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface>&)
VCLXPrinterServer::getImplementationId()
VCLXPrinterServer::getTypes()
-VclEventListeners2::~VclEventListeners2()
ViewShell::getIDocumentFieldsAccess() const
VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer(Size const&, Fraction const&, Point const&, boost::shared_array<unsigned char> const&)
Window::PostUserEvent(unsigned long&, unsigned long, void*)
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 75708556bd09..0bcdb64fd750 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -549,6 +549,11 @@ void DeInitVCL()
delete pSVData->maAppData.mpKeyListeners;
pSVData->maAppData.mpKeyListeners = NULL;
}
+ if ( pSVData->maAppData.mpPostYieldListeners )
+ {
+ delete pSVData->maAppData.mpPostYieldListeners;
+ pSVData->maAppData.mpPostYieldListeners = NULL;
+ }
if ( pSVData->maAppData.mpFirstHotKey )
ImplFreeHotKeyData();