summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-12 15:49:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-12 15:50:27 +0200
commit2e18f598c7aa6bbf299bd1a4e9c854393a23e27a (patch)
treebf5cc110d82289af9417964f31b4504fcc449656 /sfx2/source
parent9141c65b541bf6860bc8dd0c6ae1924f211b1139 (diff)
loplugin:unreffun
Change-Id: Ia0f7e2507438cb966e45306d6d018d652a307601
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/doc/Metadatable.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx
index 9892e4919421..9f3edfaa5157 100644
--- a/sfx2/source/doc/Metadatable.cxx
+++ b/sfx2/source/doc/Metadatable.cxx
@@ -1638,26 +1638,4 @@ throw (uno::RuntimeException, std::exception)
} // namespace sfx2
-
-#if OSL_DEBUG_LEVEL > 0
-
-#include <stdio.h>
-
-static void dump(sfx2::XmlIdList_t * pList)
-#ifdef __GNUC__
-__attribute__ ((unused))
-#endif
-;
-static void dump(sfx2::XmlIdList_t * pList)
-{
- fprintf(stderr, "\nXmlIdList(%p): ", pList);
- for (sfx2::XmlIdList_t::iterator i = pList->begin(); i != pList->end(); ++i)
- {
- fprintf(stderr, "%p ", *i);
- }
- fprintf(stderr, "\n");
-}
-
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */