summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-03-14 13:25:05 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-03-14 13:26:42 +0000
commitb6e60d3eb5c21a98dfa86fde0bb695986058f463 (patch)
treecdeb2868a15b6b46caf07321270529f6678dd669 /xmloff
parent678e35c4ac17219556ce0426043bd4ad905d5cee (diff)
remove redundant property handler factory.
Change-Id: I458f8f4a9575c2afddcd4f4d2f9494bffd5ff127
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 2e39f93e27ff..c3c38ec25284 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -261,7 +261,6 @@ private:
public:
SvXMLExport& mrExport;
SvXMLAutoStylePoolP& mrAutoStylePool;
- UniReference< XMLPropertyHandlerFactory > mxPropertyHandlerFactory;
UniReference< XMLPropertySetMapper > mxPropertySetMapper;
UniReference< XMLChartExportPropertyMapper > mxExpPropMapper;
@@ -1083,15 +1082,8 @@ SchXMLExportHelper_Impl::SchXMLExportHelper_Impl(
{
msTableName = OUString( "local-table" );
- // create factory
- mxPropertyHandlerFactory = new XMLChartPropHdlFactory;
-
- if( mxPropertyHandlerFactory.is() )
- {
- // create property set mapper
- mxPropertySetMapper = new XMLChartPropertySetMapper;
- }
-
+ // create property set mapper
+ mxPropertySetMapper = new XMLChartPropertySetMapper;
mxExpPropMapper = new XMLChartExportPropertyMapper( mxPropertySetMapper, rExport );
// register chart auto-style family