https://bugs.freedesktop.org/show_bug.cgi?id=38230
Lionel Elie Mamane <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #15 from Lionel Elie Mamane <[email protected]> --- Can't reproduce exactly as described, not with LibreOffice 4.2.5.2 and not with LibreOffice 3.5.4.2. When I delete the module (named by default "Module1"), the module stays deleted. However, the "Standard" *library* stays, and is not deletable. Automatically dropping an empty "Standard" library (which has *neither* Basic modules *nor* Dialogs) could be an idea... Julien: if you want to take a stab at it, I'd look around SfxLibraryContainer::storeLibraries_Impl in basic/source/uno/namecont.cxx or maybe its caller on save (the function that calls it). Actually, it tries to do that: if ( bStorage ) { // Don't write if only empty standard lib exists if ( ( nNameCount == 1 ) && ( aNames[0] == "Standard" ) ) { Any aLibAny = maNameContainer.getByName( aNames[0] ); Reference< XNameAccess > xNameAccess; aLibAny >>= xNameAccess; if ( ! ( xNameAccess->hasElements() || ( bInplaceStorage && isModified() ) ) ) { return; } } Need to debug what goes wrong there... Which part of the if-condition makes that fail? -- 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
