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

New commits:
commit 8c1bba83384e835e7207fe8338f149ea8d77c3a9
Author: Tor Lillqvist <t...@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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to