https://bugs.documentfoundation.org/show_bug.cgi?id=91239

--- Comment #4 from Julien Nabet <[email protected]> ---
With this patch:
diff --git a/basctl/source/basicide/baside2.cxx
b/basctl/source/basicide/baside2.cxx
index 2d8d794..b8ffde1 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -1483,8 +1483,8 @@ ModulWindowLayout::~ModulWindowLayout()

 void ModulWindowLayout::dispose()
 {
-    aWatchWindow.disposeAndClear();
     aStackWindow.disposeAndClear();
+    aWatchWindow.disposeAndClear();
     pChild.clear();
     Layout::dispose();
 }
diff --git a/basctl/source/basicide/basidesh.cxx
b/basctl/source/basicide/basidesh.cxx
index 1c01f29..1cd01cd 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -225,6 +225,12 @@ Shell::~Shell()
     SetWindow( 0 );
     SetCurWindow( 0 );

+    pTabBar.disposeAndClear();
+    aObjectCatalog.disposeAndClear();
+    aScrollBarBox.disposeAndClear();
+    aVScrollBar.disposeAndClear();
+    aHScrollBar.disposeAndClear();
+
     for (WindowTable::iterator it = aWindowTable.begin(); it !=
aWindowTable.end(); ++it)
     {
         // no store; does already happen when the BasicManagers are destroyed

I get now:
warn:vcl.gdi:7355:1:vcl/source/outdev/outdev.cxx:228:
OutputDevice::~OutputDevice(): OutputDevice::Push() calls !=
OutputDevice::Pop() calls
warn:legacy.osl:7355:1:vcl/source/window/window.cxx:271: Window (
23SfxFrameViewWindow_Impl ()) with live children destroyed: 
N6basctl17ModulWindowLayoutE ()
Window ( 23SfxFrameViewWindow_Impl ()) with live children destroyed: 
N6basctl17ModulWindowLayoutE ()

Then I noticed in basctl/source/basicide/basides1.cxx this:
   1011             SetWindow(pLayout);
   1012             pLayout = 0;
I removed line 1012 for the test but had this:
soffice.bin:
/home/julien/compile-libreoffice/libreoffice/include/vcl/outdev.hxx :283 : void
OutputDevice::release() const:  l'assertion « mnRefCnt>0 » failed

I'm a bit stuck :-(

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to