From 7f71e99e3f35e7b94aa426f588276d05bf86bf09 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 16 Oct 2014 09:25:06 +0200 Subject: writerfilter: check for DEBUG_DOMAINMAPPER, not OSL_DEBUG_LEVEL explicitly Previously code only built if DEBUG_DOMAINMAPPER was exactly defined with OSL_DEBUG_LEVEL was > 1, as they these conditions were used for the same purpose. Change all this dmapper XML dumping code to consistently use DEBUG_DOMAINMAPPER, so later it'll be possible to change when it's defined without breaking the build. Change-Id: I32442cf098162c7d7c9eb7c454094685ab654b74 --- writerfilter/inc/resourcemodel/TagLogger.hxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'writerfilter/inc') diff --git a/writerfilter/inc/resourcemodel/TagLogger.hxx b/writerfilter/inc/resourcemodel/TagLogger.hxx index 94fc67a3dff0..37a90789761b 100644 --- a/writerfilter/inc/resourcemodel/TagLogger.hxx +++ b/writerfilter/inc/resourcemodel/TagLogger.hxx @@ -61,26 +61,20 @@ namespace writerfilter void setFileName(const std::string & filename); void startDocument(); void endDocument(); -#endif -#ifdef DEBUG_DOMAINMAPPER void element(const std::string & name); void unoPropertySet(css::uno::Reference rPropSet); -#endif -#if OSL_DEBUG_LEVEL > 1 void startElement(const std::string & name); #endif void attribute(const std::string & name, const std::string & value); -#if OSL_DEBUG_LEVEL > 1 +#ifdef DEBUG_DOMAINMAPPER void attribute(const std::string & name, const OUString & value); void attribute(const std::string & name, sal_uInt32 value); void attribute(const std::string & name, const css::uno::Any aAny); void chars(const std::string & chars); void chars(const OUString & chars); void endElement(); -#endif -#ifdef DEBUG_DOMAINMAPPER void propertySet(writerfilter::Reference::Pointer_t props, IdToString::Pointer_t pIdToString); #endif -- cgit