diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-04 09:49:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-05 09:17:50 +0200 |
commit | e327fd0c5dcb927990bdf1a34d6f99f11edb22a9 (patch) | |
tree | b4a7f07f513301ba49af1fd59aa491620719cbb8 | |
parent | 639110d0ccb5af48104cd4a6e64c26bf682ed3f3 (diff) |
debug only code SfxItemPool::GetMasterPool() const
Change-Id: Ia3c53e64f6e39618b4cc85fae5f213e67041a725
-rw-r--r-- | include/svl/itempool.hxx | 2 | ||||
-rw-r--r-- | svl/source/items/itempool.cxx | 2 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx index 4b8e421d095d..9a44d5a88c4e 100644 --- a/include/svl/itempool.hxx +++ b/include/svl/itempool.hxx @@ -194,7 +194,9 @@ public: void SetStoringRange( sal_uInt16 nFrom, sal_uInt16 nTo ); void SetSecondaryPool( SfxItemPool *pPool ); SfxItemPool* GetSecondaryPool() const; +#ifdef DBG_UTIL SfxItemPool* GetMasterPool() const; +#endif void FreezeIdRanges(); void Delete(); diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index c293c384474f..861a3fa9ad37 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -918,10 +918,12 @@ SfxItemPool* SfxItemPool::GetSecondaryPool() const return pImp->mpSecondary; } +#ifdef DBG_UTIL SfxItemPool* SfxItemPool::GetMasterPool() const { return pImp->mpMaster; } +#endif void SfxItemPool::FreezeIdRanges() diff --git a/unusedcode.easy b/unusedcode.easy index 344be2e92683..b538e242257f 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -44,7 +44,6 @@ SfxBindings::GetSystemWindow() const SfxDispatcher::IsOnTop(SfxShell const&) SfxGrabBagItem::SetGrabBag(std::map<rtl::OUString, com::sun::star::uno::Any, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Any> > > const&) SfxInt64Item::SetValue(long) -SfxItemPool::GetMasterPool() const SimpleErrorHandler::SimpleErrorHandler() StyleSettings::SetActiveColor2(Color const&) StyleSettings::SetCursorSize(long) |