[Libreoffice-commits] core.git: svl/source

Tor Lillqvist tml at collabora.com
Wed Jan 6 02:33:31 PST 2016


 svl/source/items/itempool.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e4968cfb09e5d67757db6e91750a1a14f16f5792
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Jan 6 12:32:42 2016 +0200

    Revert "This probably is not worth displaying a warning about"
    
    It might be a useful warning.
    
    This reverts commit d202f851717bb5a8fe5fed98f747a1fd164d3225.

diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 7746cc3..d8a19b9 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -425,6 +425,7 @@ void SfxItemPool::SetSecondaryPool( SfxItemPool *pPool )
                         for( size_t i = pItemArr->size(); i; ++ppHtArr, --i )
                             if ( !(*ppHtArr) )
                             {
+                                OSL_FAIL( "old secondary pool must be empty" );
                                 bOK = false;
                                 break;
                             }


More information about the Libreoffice-commits mailing list