diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-11-28 19:16:17 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-28 19:17:02 +0100 |
commit | 47588a4c98f1b668c7ffe2575c7e0851a63316bb (patch) | |
tree | d59e85b98904df7281d19403235892d5124d7af4 /svl/source/items | |
parent | 426ef2847cbdc74c068531915efb852a727cd3ee (diff) |
svl: SfxItemSet: get rid of the "no master pool" warning spam
No idea why that would be a problem.
Change-Id: Ib655b71ed8cd8a4fe8200209c929434832f3614e
Diffstat (limited to 'svl/source/items')
-rw-r--r-- | svl/source/items/itemset.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index c397312d5827..22105afd4e66 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -89,7 +89,6 @@ SfxItemSet::SfxItemSet _pParent( 0 ), _nCount( 0 ) { - SAL_WARN_IF(_pPool != _pPool->GetMasterPool(), "svl.items", "no Master Pool"); // DBG_ASSERT( bTotalRanges || abs( &bTotalRanges - this ) < 1000, // "please use suitable ranges" ); #if defined DBG_UTIL && defined SFX_ITEMSET_NO_DEFAULT_CTOR @@ -117,7 +116,6 @@ SfxItemSet::SfxItemSet( SfxItemPool& rPool, sal_uInt16 nWhich1, sal_uInt16 nWhic _nCount( 0 ) { assert(nWhich1 <= nWhich2); - SAL_WARN_IF(_pPool != _pPool->GetMasterPool(), "svl.items", "no Master Pool"); InitRanges_Impl(nWhich1, nWhich2); } @@ -154,7 +152,6 @@ SfxItemSet::SfxItemSet( SfxItemPool& rPool, _nCount( 0 ) { assert(nWh1 <= nWh2); - SAL_WARN_IF(_pPool != _pPool->GetMasterPool(), "svl.items", "no Master Pool"); if(!nNull) InitRanges_Impl( @@ -201,8 +198,6 @@ SfxItemSet::SfxItemSet( SfxItemPool& rPool, const sal_uInt16* pWhichPairTable ) , _pWhichRanges(0) , _nCount(0) { - SAL_WARN_IF(_pPool != _pPool->GetMasterPool(), "svl.items", "no Master Pool"); - // pWhichPairTable == 0 ist f"ur das SfxAllEnumItemSet if ( pWhichPairTable ) InitRanges_Impl(pWhichPairTable); @@ -213,8 +208,6 @@ SfxItemSet::SfxItemSet( const SfxItemSet& rASet ): _pParent( rASet._pParent ), _nCount( rASet._nCount ) { - SAL_WARN_IF(_pPool != _pPool->GetMasterPool(), "svl.items", "no Master Pool"); - // Calculate the attribute count sal_uInt16 nCnt = 0; sal_uInt16* pPtr = rASet._pWhichRanges; @@ -1402,7 +1395,6 @@ SvStream &SfxItemSet::Store ) const { assert(_pPool); - SAL_WARN_IF(_pPool != _pPool->GetMasterPool(), "svl.items", "no Master Pool"); // Remember position of the count (to be able to correct it, if need be) sal_uLong nCountPos = rStream.Tell(); @@ -1467,7 +1459,6 @@ SvStream &SfxItemSet::Load ) { assert(_pPool); - SAL_WARN_IF(_pPool != _pPool->GetMasterPool(), "svl.items", "no Master Pool"); // No RefPool => Resolve Surrogates with ItemSet's Pool if ( !pRefPool ) |