svl/source/items/itempool.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit e4968cfb09e5d67757db6e91750a1a14f16f5792 Author: Tor Lillqvist <t...@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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits