summaryrefslogtreecommitdiff
path: root/svl/source/items/itempool.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-01-06 12:32:42 +0200
committerTor Lillqvist <tml@collabora.com>2016-01-06 12:33:01 +0200
commite4968cfb09e5d67757db6e91750a1a14f16f5792 (patch)
tree2308c45d3dcba9a328a461feddc014781c11fc60 /svl/source/items/itempool.cxx
parentf1d3b68f3cbaab58e464f8111e4db990e008a96c (diff)
Revert "This probably is not worth displaying a warning about"
It might be a useful warning. This reverts commit d202f851717bb5a8fe5fed98f747a1fd164d3225.
Diffstat (limited to 'svl/source/items/itempool.cxx')
-rw-r--r--svl/source/items/itempool.cxx1
1 files changed, 1 insertions, 0 deletions
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;
}