diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-04-14 19:31:10 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-04-14 23:36:20 +0200 |
commit | 9a8c2db542618b7a6d242b9d3257f23f54007682 (patch) | |
tree | d11de87f99b279769ae423fb1e92343e3bc1d5f0 | |
parent | 2765b0ed7e116f5b1695f86e8401fbb2f1dd4a2e (diff) |
dmapper: log unhandled attributes in the settings table
-rw-r--r-- | writerfilter/debug_setup.mk | 1 | ||||
-rw-r--r-- | writerfilter/source/dmapper/SettingsTable.cxx | 12 |
2 files changed, 7 insertions, 6 deletions
diff --git a/writerfilter/debug_setup.mk b/writerfilter/debug_setup.mk index a618171fa4d5..95681da270ae 100644 --- a/writerfilter/debug_setup.mk +++ b/writerfilter/debug_setup.mk @@ -12,5 +12,6 @@ $(if $(filter-out 0 1,$(strip $(gb_DEBUGLEVEL))),\ -DDEBUG_DMAPPER_PROPERTY_MAP \ -DDEBUG_DMAPPER_TABLE_HANDLER \ -DDEBUG_TABLE \ + -DDEBUG_DMAPPER_SETTINGS_TABLE \ ) endef diff --git a/writerfilter/source/dmapper/SettingsTable.cxx b/writerfilter/source/dmapper/SettingsTable.cxx index 8d5319817185..870ce6fa5568 100644 --- a/writerfilter/source/dmapper/SettingsTable.cxx +++ b/writerfilter/source/dmapper/SettingsTable.cxx @@ -117,17 +117,17 @@ void SettingsTable::lcl_attribute(Id nName, Value & val) ::rtl::OUString sValue = val.getString(); (void)sValue; -#if 0 //no values known, yet - - switch(Name) + switch(nName) { - case NS_ooxml::: - break; + //case NS_ooxml::: + //break; default: { +#ifdef DEBUG_DMAPPER_SETTINGS_TABLE + dmapper_logger->element("unhandled"); +#endif } } -#endif } void SettingsTable::lcl_sprm(Sprm& rSprm) |