summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/TablePropertiesHandler.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-10-30 22:33:45 +0100
committerMichael Stahl <mstahl@redhat.com>2012-10-30 22:54:18 +0100
commit4d13a68d75bc7e125d57ec34322c54967d12ecbb (patch)
tree1c5ea6fcc2c41daf70b49fef4be5333b4ce18917 /writerfilter/source/dmapper/TablePropertiesHandler.cxx
parent30e6227c6f31bb9273dc4e3a429033c4069e72ad (diff)
writerfilter: clean up PropertyMap::insert mess:
Rumor has it that MSVC 2010 has problems choosing the right overload in PropertyMap::insert call, which is no surprise as that is a ridiculous piece of garbage. Special bonus points for having another class TablePropsRef that must have a call compatible method because it's used as parameter to the same templates, and for the call with a pointer converted to boolean implicitly in StyleSheetTable.cxx:163. Also remove the silly boolean parameter while at it, just have 2 methods instead. Change-Id: I022d5dd7008f3e6c510d94e19fbacbf04bcf1986
Diffstat (limited to 'writerfilter/source/dmapper/TablePropertiesHandler.cxx')
-rw-r--r--writerfilter/source/dmapper/TablePropertiesHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/TablePropertiesHandler.cxx b/writerfilter/source/dmapper/TablePropertiesHandler.cxx
index 4899a14f5010..17e1a84d39d6 100644
--- a/writerfilter/source/dmapper/TablePropertiesHandler.cxx
+++ b/writerfilter/source/dmapper/TablePropertiesHandler.cxx
@@ -146,7 +146,7 @@ namespace dmapper {
BorderHandlerPtr pBorderHandler( new BorderHandler(m_bOOXML) );
pProperties->resolve(*pBorderHandler);
TablePropertyMapPtr pTablePropMap( new TablePropertyMap );
- pTablePropMap->insert( pBorderHandler->getProperties() );
+ pTablePropMap->InsertProps(pBorderHandler->getProperties());
#ifdef DEBUG_DOMAINMAPPER
pTablePropMap->dumpXml( dmapper_logger );