From ebc1b2fe50c7ed1002ed8431410b8e2ac6e795b9 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 20 Dec 2013 03:17:14 +0100 Subject: added bool bForExport parameter to XMLPropertySetMapper ctor Set to true for export, false for import. If export true, an XMLPropertyMapEntry with mbImportOnly==true is not added to the mappings. This to be able to have more than one mappings for import (for example a current extension namespace and the future namespace proposed to the ODF-TC, or corrected typos in element or attribute names), but map only to one entry on export, of course. Change-Id: Ia01ea949c88eda2f8a6c10f51c59e35e7abdcaf3 --- xmloff/qa/unit/uxmloff.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff/qa') diff --git a/xmloff/qa/unit/uxmloff.cxx b/xmloff/qa/unit/uxmloff.cxx index 8dfa5021ed99..9bd6e3783901 100644 --- a/xmloff/qa/unit/uxmloff.cxx +++ b/xmloff/qa/unit/uxmloff.cxx @@ -62,7 +62,7 @@ void Test::testAutoStylePool() UniReference< SvXMLAutoStylePoolP > xPool( new SvXMLAutoStylePoolP( *pExport ) ); UniReference< XMLPropertySetMapper > xSetMapper( - new XMLChartPropertySetMapper ); + new XMLChartPropertySetMapper( true) ); UniReference< XMLChartExportPropertyMapper > xExportPropMapper( new XMLChartExportPropertyMapper( xSetMapper, *pExport ) ); -- cgit