summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-05-07 11:56:54 +0300
committerTor Lillqvist <tml@collabora.com>2015-05-07 11:58:04 +0300
commit8c1bba83384e835e7207fe8338f149ea8d77c3a9 (patch)
tree2140a0641ab0713992732970da6e2f1d1e10ea55 /vcl
parent12b0e654d1f508508921863c6f8b4eb2c65e6c1d (diff)
WaE: OutputDevice subclass should have nothing in its destructor but ...
Change-Id: I9b48a2c9d878ef449fc9c04228eff9deb03b0718
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/floatwin.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index f7892c588ad7..d2a7a90f1252 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()