summaryrefslogtreecommitdiff
path: root/xmloff/source/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-09 10:11:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-09 12:41:09 +0000
commit5a308b1239a09417507b0d05090ff2d3418d5133 (patch)
tree990fa9015a4107e4916691eb4dee80fa5713e96b /xmloff/source/forms
parentc1a227600d0b16df283162d24f1a31f5c9cee474 (diff)
V801: Decreased performance
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
Diffstat (limited to 'xmloff/source/forms')
-rw-r--r--xmloff/source/forms/formlayerexport.cxx2
-rw-r--r--xmloff/source/forms/layerexport.cxx2
-rw-r--r--xmloff/source/forms/layerexport.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/forms/formlayerexport.cxx b/xmloff/source/forms/formlayerexport.cxx
index f0cba0b96101..1e8f43a459e3 100644
--- a/xmloff/source/forms/formlayerexport.cxx
+++ b/xmloff/source/forms/formlayerexport.cxx
@@ -112,7 +112,7 @@ namespace xmloff
m_pImpl->exportAutoStyles();
}
- void OFormLayerXMLExport::excludeFromExport( const Reference< XControlModel > _rxControl )
+ void OFormLayerXMLExport::excludeFromExport( const Reference< XControlModel >& _rxControl )
{
m_pImpl->excludeFromExport( _rxControl );
}
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx
index 9057ae719402..4b618d47628d 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -749,7 +749,7 @@ namespace xmloff
return m_pControlNumberStyles;
}
- void OFormLayerXMLExport_Impl::excludeFromExport( const Reference< XControlModel > _rxControl )
+ void OFormLayerXMLExport_Impl::excludeFromExport( const Reference< XControlModel >& _rxControl )
{
Reference< XPropertySet > xProps( _rxControl, UNO_QUERY );
OSL_ENSURE( xProps.is(), "OFormLayerXMLExport_Impl::excludeFromExport: invalid control model!" );
diff --git a/xmloff/source/forms/layerexport.hxx b/xmloff/source/forms/layerexport.hxx
index f7d902389d3e..4a4e4146be94 100644
--- a/xmloff/source/forms/layerexport.hxx
+++ b/xmloff/source/forms/layerexport.hxx
@@ -298,7 +298,7 @@ namespace xmloff
to the form layer exporter.<br/>
Of course you have to do this before calling <member>exportForms</member></p>
*/
- void excludeFromExport( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > _rxControl );
+ void excludeFromExport( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& _rxControl );
};
} // namespace xmloff