diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-01-11 19:32:15 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-29 08:09:41 +0100 |
commit | 0f8ed13f6d0dde3a68055a0c57e8ee5d58641078 (patch) | |
tree | 099e3d0295369f98e4a8a2fe9c774d1c3c4c7afd /chart2 | |
parent | 46bfd493db03bcb2c17abb76f3627d3ae9239152 (diff) |
disable the logging of properties
Change-Id: I55709b7907af22883e9562ff1c846271743266ca
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/DummyXShape.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx index 1a495e5824a5..f26da5ae7ab4 100644 --- a/chart2/source/view/main/DummyXShape.cxx +++ b/chart2/source/view/main/DummyXShape.cxx @@ -28,6 +28,8 @@ #include <algorithm> +#define ENABLE_DEBUG_PROPERTIES 0 + using namespace com::sun::star; using namespace std; @@ -40,10 +42,16 @@ namespace { struct PrintProperties { +#if ENABLE_DEBUG_PROPERTIES void operator()(const std::pair<OUString, uno::Any>& rProp) { SAL_WARN("chart2.opengl", "Property: " << rProp.first); } +#else + void operator()(const std::pair<OUString, uno::Any>&) + { + } +#endif }; void debugProperties(std::map<OUString, uno::Any>& rProperties) |