summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 16:01:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commit8c81f307eef0c4eb66cf0994fa444b676650c7be (patch)
tree3f014f6685695c4dbc0191709ebf7629a9cff1f3 /include
parentda7259b584678d51a2ea10e3d387c3a34d567414 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: Ide1102f4dcc5f31de0f896b570fe453b8074454d
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/shapeexport.hxx2
-rw-r--r--include/xmloff/xformsimport.hxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/xmloff/shapeexport.hxx b/include/xmloff/shapeexport.hxx
index 70cc92378100..000f9a731aa9 100644
--- a/include/xmloff/shapeexport.hxx
+++ b/include/xmloff/shapeexport.hxx
@@ -288,7 +288,7 @@ public:
If this is a non NULL reference, the animation information from all shapes given to exportShape()
from now on are collected.
*/
- void setAnimationsExporter( rtl::Reference< XMLAnimationsExporter > xAnimExport ) { mxAnimationsExporter = xAnimExport; }
+ void setAnimationsExporter( rtl::Reference< XMLAnimationsExporter > const & xAnimExport ) { mxAnimationsExporter = xAnimExport; }
/** returns the last set XMLAnimationExport */
const rtl::Reference< XMLAnimationsExporter >& getAnimationsExporter() const { return mxAnimationsExporter; }
diff --git a/include/xmloff/xformsimport.hxx b/include/xmloff/xformsimport.hxx
index 4aa509d3d502..6624a94acd77 100644
--- a/include/xmloff/xformsimport.hxx
+++ b/include/xmloff/xformsimport.hxx
@@ -45,7 +45,7 @@ XMLOFF_DLLPUBLIC SvXMLImportContext* createXFormsModelContext(
* @param pair<XForms binding ID, reference to control>
*/
void bindXFormsValueBinding(
- css::uno::Reference<css::frame::XModel>,
+ css::uno::Reference<css::frame::XModel> const &,
std::pair<css::uno::Reference<css::beans::XPropertySet>,OUString> );
@@ -54,7 +54,7 @@ void bindXFormsValueBinding(
* @param pair<XForms binding ID, reference to control>
*/
void bindXFormsListBinding(
- css::uno::Reference<css::frame::XModel>,
+ css::uno::Reference<css::frame::XModel> const &,
std::pair<css::uno::Reference<css::beans::XPropertySet>,OUString> );
/** perform the actual binding of an XForms submission with the suitable control
@@ -62,7 +62,7 @@ void bindXFormsListBinding(
* @param pair<XForms submission ID, reference to control>
*/
void bindXFormsSubmission(
- css::uno::Reference<css::frame::XModel>,
+ css::uno::Reference<css::frame::XModel> const &,
std::pair<css::uno::Reference<css::beans::XPropertySet>,OUString> );
/** applies the given settings to the given XForms container