summaryrefslogtreecommitdiffstats
path: root/oox
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2019-05-20 20:19:33 +0300
committerTor Lillqvist <tml@collabora.com>2019-05-20 20:28:22 +0200
commitfaa8aa1e7278231887b60df9a302f5f3d0819f32 (patch)
tree60352bf60425b56b9b828ada76c9710947f6823a /oox
parentFix a11y crash with drag&drop shape anchored to page (diff)
downloadcore-faa8aa1e7278231887b60df9a302f5f3d0819f32.tar.gz
core-faa8aa1e7278231887b60df9a302f5f3d0819f32.zip
Use DBG_UTIL instead of OSL_DEBUG_LEVEL for the OOX dumping stuff
We want it to be possible to compile an arbitrary subset of the source files for debugging. DBG_UTIL, on the other hand, has to be consistent across the whole build. We should not use OSL_DEBUG_LEVEL to switch (internal) API on/off. Change-Id: Ia5111a36326ad7ad4c72d9e8f7ad88c8dbe8e272 Reviewed-on: https://gerrit.libreoffice.org/72616 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/dump/dffdumper.cxx2
-rw-r--r--oox/source/dump/dumperbase.cxx2
-rw-r--r--oox/source/dump/oledumper.cxx2
-rw-r--r--oox/source/dump/pptxdumper.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/dump/dffdumper.cxx b/oox/source/dump/dffdumper.cxx
index 9fe67ca16671..6c03e14bb7f8 100644
--- a/oox/source/dump/dffdumper.cxx
+++ b/oox/source/dump/dffdumper.cxx
@@ -19,7 +19,7 @@
#include <oox/dump/dffdumper.hxx>
-#if OOX_INCLUDE_DUMPER
+#ifdef DBG_UTIL
namespace oox {
namespace dump {
diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx
index 77b964b43b1e..c1a5f04b4035 100644
--- a/oox/source/dump/dumperbase.cxx
+++ b/oox/source/dump/dumperbase.cxx
@@ -34,7 +34,7 @@
#include <oox/helper/textinputstream.hxx>
#include <tools/time.hxx>
-#if OOX_INCLUDE_DUMPER
+#ifdef DBG_UTIL
namespace oox {
namespace dump {
diff --git a/oox/source/dump/oledumper.cxx b/oox/source/dump/oledumper.cxx
index aebb5ac681c3..76b4ce61088d 100644
--- a/oox/source/dump/oledumper.cxx
+++ b/oox/source/dump/oledumper.cxx
@@ -29,7 +29,7 @@
#include <oox/ole/olestorage.hxx>
#include <oox/ole/vbainputstream.hxx>
-#if OOX_INCLUDE_DUMPER
+#ifdef DBG_UTIL
namespace oox {
namespace dump {
diff --git a/oox/source/dump/pptxdumper.cxx b/oox/source/dump/pptxdumper.cxx
index 3962a5e1f195..df9555f235e8 100644
--- a/oox/source/dump/pptxdumper.cxx
+++ b/oox/source/dump/pptxdumper.cxx
@@ -24,7 +24,7 @@
#include <oox/helper/zipstorage.hxx>
#include <oox/ole/olestorage.hxx>
-#if OOX_INCLUDE_DUMPER
+#ifdef DBG_UTIL
namespace oox {
namespace dump {