Kaydet (Commit) 0f8ed13f authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

disable the logging of properties

Change-Id: I55709b7907af22883e9562ff1c846271743266ca
üst 46bfd493
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment