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 /xmloff/source/xforms | |
parent | c1a227600d0b16df283162d24f1a31f5c9cee474 (diff) |
V801: Decreased performance
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
Diffstat (limited to 'xmloff/source/xforms')
-rw-r--r-- | xmloff/source/xforms/xformsapi.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/xforms/xformsapi.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/xforms/xformsapi.cxx b/xmloff/source/xforms/xformsapi.cxx index 4f127a2f2d0e..adfcb3554e68 100644 --- a/xmloff/source/xforms/xformsapi.cxx +++ b/xmloff/source/xforms/xformsapi.cxx @@ -167,7 +167,7 @@ Reference<XPropertySet> xforms_findXFormsSubmission( void xforms_setValue( Reference<XPropertySet>& xPropertySet, const OUString& rName, - const Any rAny ) + const Any& rAny ) { xPropertySet->setPropertyValue( rName, rAny ); } diff --git a/xmloff/source/xforms/xformsapi.hxx b/xmloff/source/xforms/xformsapi.hxx index 558909aa3906..e4e8aaff04fc 100644 --- a/xmloff/source/xforms/xformsapi.hxx +++ b/xmloff/source/xforms/xformsapi.hxx @@ -47,7 +47,7 @@ com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> xforms_findX void xforms_setValue( com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>& xPropSet, const OUString& rName, - const com::sun::star::uno::Any rAny ); + const com::sun::star::uno::Any& rAny ); template<typename T> void xforms_setValue( |