diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-29 16:00:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-29 16:02:48 +0000 |
commit | d8bc093dd07ceba42c9d722e7ccca4caedbd91e4 (patch) | |
tree | 7650c5f7d64e71a50f82400caf0399a1c71bead8 | |
parent | f0ffe0c063c8fe32758d77c83f773821ac185ba0 (diff) |
need to initialize mnRefCnt
all sorts of things crash, e.g. format->properties
Change-Id: Ida4fb97dcdddd7adde4b98fa67b107a514eef615
-rw-r--r-- | vcl/source/window/window.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index a8617ae7a4a6..606a4f551ead 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -1187,6 +1187,8 @@ void Window::ImplInitWindowData( WindowType nType ) // it will not *be* an OutputDevice mpOutputDevice = (OutputDevice*)this; + mnRefCnt = 0; + mpWindowImpl = new WindowImpl( nType ); meOutDevType = OUTDEV_WINDOW; |