summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-26 12:36:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-26 13:25:23 +0200
commitdbd20b5c793cab388f01b7172df91429b6324418 (patch)
treea7fe846272ae0250669f8b0cd7d107cf19ecd5a3 /tools
parente6628f7a77b4707fb6ed8bf94282eebc0221e0e3 (diff)
loplugin:unusedmethods
Change-Id: If2e1241bbe8a3d17859e3ca076b0f55f25c48ea5 Reviewed-on: https://gerrit.libreoffice.org/36983 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/rc/resmgr.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx
index 8ef96d78d56d..86b5be7b5146 100644
--- a/tools/source/rc/resmgr.cxx
+++ b/tools/source/rc/resmgr.cxx
@@ -874,26 +874,6 @@ void ResMgr::decStack()
}
}
-#ifdef DBG_UTIL
-
-void ResMgr::TestStack()
-{
- osl::Guard<osl::Mutex> aGuard( getResMgrMutex() );
-
- int upperLimit = nCurStack;
-
- if ( upperLimit < 0 )
- {
- OSL_FAIL( "resource stack underrun!" );
- }
- else if ( upperLimit >= static_cast<int>(aStack.size()) )
- {
- OSL_FAIL( "stack occupation index > allocated stack size" );
- }
-}
-
-#endif
-
bool ResMgr::IsAvailable( const ResId& rId, const Resource* pResObj ) const
{
osl::Guard<osl::Mutex> aGuard( getResMgrMutex() );