diff options
Diffstat (limited to 'xmloff/source/chart/SchXMLImport.cxx')
-rw-r--r-- | xmloff/source/chart/SchXMLImport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/chart/SchXMLImport.cxx b/xmloff/source/chart/SchXMLImport.cxx index ca1f63c02353..2c409e989c88 100644 --- a/xmloff/source/chart/SchXMLImport.cxx +++ b/xmloff/source/chart/SchXMLImport.cxx @@ -132,12 +132,12 @@ SchXMLImportHelper::~SchXMLImportHelper() SvXMLImportContext* SchXMLImportHelper::CreateChartContext( SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName, - const Reference< frame::XModel > xChartModel, + const Reference< frame::XModel >& rChartModel, const Reference< xml::sax::XAttributeList >& ) { SvXMLImportContext* pContext = 0; - Reference< chart::XChartDocument > xDoc( xChartModel, uno::UNO_QUERY ); + Reference< chart::XChartDocument > xDoc( rChartModel, uno::UNO_QUERY ); if( xDoc.is()) { mxChartDoc = xDoc; |