[Libreoffice-commits] .: unusedcode.easy writerfilter/inc writerfilter/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Oct 10 14:37:29 PDT 2011
unusedcode.easy | 4 ----
writerfilter/inc/resourcemodel/XPathLogger.hxx | 4 ++++
writerfilter/source/resourcemodel/XPathLogger.cxx | 4 ++++
3 files changed, 8 insertions(+), 4 deletions(-)
New commits:
commit 0123fc6d03412704ac8512339d949773b22b9cce
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Oct 10 22:34:26 2011 +0100
these can go behind DEBUG_CONTEXT_HANDLER
diff --git a/unusedcode.easy b/unusedcode.easy
index 310d070..c025a98 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -2858,7 +2858,3 @@ writerfilter::TagLogger::chars(rtl::OUString const&)
writerfilter::TagLogger::endElement()
writerfilter::TagLogger::startElement(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
writerfilter::TagLogger::~TagLogger()
-writerfilter::XPathLogger::XPathLogger()
-writerfilter::XPathLogger::endElement()
-writerfilter::XPathLogger::getXPath() const
-writerfilter::XPathLogger::startElement(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)
diff --git a/writerfilter/inc/resourcemodel/XPathLogger.hxx b/writerfilter/inc/resourcemodel/XPathLogger.hxx
index d5e97a2..584ed35 100644
--- a/writerfilter/inc/resourcemodel/XPathLogger.hxx
+++ b/writerfilter/inc/resourcemodel/XPathLogger.hxx
@@ -28,6 +28,8 @@
#ifndef INCLUDED_XPATH_LOGGER_HXX
#define INCLUDED_XPATH_LOGGER_HXX
+#ifdef DEBUG_CONTEXT_HANDLER
+
#include <stack>
#include <string>
#include <vector>
@@ -62,4 +64,6 @@ public:
void endElement();
};
}
+
+#endif
#endif // INCLUDED_XPATH_LOGGER_HXX
diff --git a/writerfilter/source/resourcemodel/XPathLogger.cxx b/writerfilter/source/resourcemodel/XPathLogger.cxx
index aad6847..b9381e3 100644
--- a/writerfilter/source/resourcemodel/XPathLogger.cxx
+++ b/writerfilter/source/resourcemodel/XPathLogger.cxx
@@ -29,6 +29,8 @@
#include <stdio.h>
#include <resourcemodel/XPathLogger.hxx>
+#ifdef DEBUG_CONTEXT_HANDLER
+
namespace writerfilter
{
XPathLogger::XPathLogger()
@@ -89,4 +91,6 @@ void XPathLogger::endElement()
} // namespace writerfilter
+#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list