diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 10:11:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 12:41:09 +0000 |
commit | 5a308b1239a09417507b0d05090ff2d3418d5133 (patch) | |
tree | 990fa9015a4107e4916691eb4dee80fa5713e96b /editeng/source | |
parent | c1a227600d0b16df283162d24f1a31f5c9cee474 (diff) |
V801: Decreased performance
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/xml/xmltxtexp.cxx | 6 | ||||
-rw-r--r-- | editeng/source/xml/xmltxtimp.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx index dbec0daf11f0..49196c4ba86c 100644 --- a/editeng/source/xml/xmltxtexp.cxx +++ b/editeng/source/xml/xmltxtexp.cxx @@ -345,11 +345,11 @@ class SvxXMLTextExportComponent : public SvXMLExport { public: SvxXMLTextExportComponent( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext, EditEngine* pEditEngine, const ESelection& rSel, const OUString& rFileName, - const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler > & xHandler ); + const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler >& rHandler ); virtual ~SvxXMLTextExportComponent(); @@ -366,7 +366,7 @@ private: SvxXMLTextExportComponent::SvxXMLTextExportComponent( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, EditEngine* pEditEngine, const ESelection& rSel, const OUString& rFileName, diff --git a/editeng/source/xml/xmltxtimp.cxx b/editeng/source/xml/xmltxtimp.cxx index 9b92ab7dbfae..716133c5cf89 100644 --- a/editeng/source/xml/xmltxtimp.cxx +++ b/editeng/source/xml/xmltxtimp.cxx @@ -109,8 +109,8 @@ class SvxXMLXTextImportComponent : public SvXMLImport { public: SvxXMLXTextImportComponent( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, - const uno::Reference< XText > & xText ); + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext, + const uno::Reference< XText > & rText ); virtual ~SvxXMLXTextImportComponent() throw (); @@ -121,7 +121,7 @@ private: SvxXMLXTextImportComponent::SvxXMLXTextImportComponent( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, const uno::Reference< XText > & xText ) : SvXMLImport(xContext, ""), mxText( xText ) |