[Libreoffice-commits] core.git: vcl/source

Tor Lillqvist tml at collabora.com
Thu May 7 01:58:48 PDT 2015


 vcl/source/window/floatwin.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 8c1bba83384e835e7207fe8338f149ea8d77c3a9
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu May 7 11:56:54 2015 +0300

    WaE: OutputDevice subclass should have nothing in its destructor but ...
    
    Change-Id: I9b48a2c9d878ef449fc9c04228eff9deb03b0718

diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index f7892c5..d2a7a90 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -186,7 +186,11 @@ void FloatingWindow::doDeferredInit(WinBits nBits)
 FloatingWindow::~FloatingWindow()
 {
     disposeOnce();
-    assert (!mnPostId);
+
+    // Unfortunately the vclwidgets clang plug-in says: "OutputDevice
+    // subclass should have nothing in its destructor but a call to
+    // disposeOnce()."
+    // assert (!mnPostId);
 }
 
 void FloatingWindow::dispose()


More information about the Libreoffice-commits mailing list