summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svl/itempool.hxx2
-rw-r--r--svl/source/items/itempool.cxx2
-rw-r--r--unusedcode.easy1
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)