summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-03-25 13:56:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-03-25 14:13:12 +0100
commiteab3fa1f372887c913b2f2d85bbccadede10355d (patch)
tree67c6e1427a5314d4df15424a4b2ae5f8290592cc /dbaccess
parent96900c6de49de3ff41f99e13bb6991b8b17d29f0 (diff)
loplugin:unusedvarsglobal
Change-Id: Ie73c8bec0196c680311b0959f3a17c3af900ce88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113084 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index 83876d1bd0fd..fa4f932654cb 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -458,11 +458,6 @@ bool OGenericUnoController::isFeatureSupported( sal_Int32 _nId )
void OGenericUnoController::InvalidateFeature_Impl()
{
-#ifdef DBG_UTIL
- static sal_Int32 s_nRecursions = 0;
- ++s_nRecursions;
-#endif
-
bool bEmpty = true;
FeatureListener aNextFeature;
{
@@ -505,10 +500,6 @@ void OGenericUnoController::InvalidateFeature_Impl()
if (!bEmpty)
aNextFeature = m_aFeaturesToInvalidate.front();
}
-
-#ifdef DBG_UTIL
- --s_nRecursions;
-#endif
}
void OGenericUnoController::ImplInvalidateFeature( sal_Int32 _nId, const Reference< XStatusListener >& _xListener, bool _bForceBroadcast )