[Libreoffice-commits] .: unusedcode.easy vcl/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Aug 8 04:30:33 PDT 2012


 unusedcode.easy           |    1 -
 vcl/source/app/svmain.cxx |    5 +++++
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 74886eb9ac87f33bee6df4876a65cf62337550dd
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Aug 8 10:50:31 2012 +0100

    mpPostYieldListeners dtor never called
    
    Change-Id: I5d39910647288988363751cd53f1dce6781450b1

diff --git a/unusedcode.easy b/unusedcode.easy
index b0b79a2..5188d8f 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 7570855..0bcdb64 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();


More information about the Libreoffice-commits mailing list