need to initialize mnRefCnt
all sorts of things crash, e.g. format->properties Change-Id: Ida4fb97dcdddd7adde4b98fa67b107a514eef615
This commit is contained in:
@@ -1187,6 +1187,8 @@ void Window::ImplInitWindowData( WindowType nType )
|
|||||||
// it will not *be* an OutputDevice
|
// it will not *be* an OutputDevice
|
||||||
mpOutputDevice = (OutputDevice*)this;
|
mpOutputDevice = (OutputDevice*)this;
|
||||||
|
|
||||||
|
mnRefCnt = 0;
|
||||||
|
|
||||||
mpWindowImpl = new WindowImpl( nType );
|
mpWindowImpl = new WindowImpl( nType );
|
||||||
|
|
||||||
meOutDevType = OUTDEV_WINDOW;
|
meOutDevType = OUTDEV_WINDOW;
|
||||||
|
Reference in New Issue
Block a user