From e4968cfb09e5d67757db6e91750a1a14f16f5792 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 6 Jan 2016 12:32:42 +0200 Subject: [PATCH] Revert "This probably is not worth displaying a warning about" It might be a useful warning. This reverts commit d202f851717bb5a8fe5fed98f747a1fd164d3225. --- svl/source/items/itempool.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index 7746cc3c9a1d..d8a19b9a9355 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; }