summaryrefslogtreecommitdiff
path: root/include/oox/vml
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 09:23:29 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 11:38:57 +0200
commit9f877f677346968774d4366f105114fe7f36dd69 (patch)
treed8fb1f3924b5956c8f693acb8df33ba9757f9dc1 /include/oox/vml
parentb9d091e7d4eb3014aa6198f64f414702105b5aab (diff)
clang-tidy performance-unnecessary-value-param in oox
Change-Id: I1ac86906ea21c00f8d77834c94583be7d9e9974e
Diffstat (limited to 'include/oox/vml')
-rw-r--r--include/oox/vml/vmlformatting.hxx2
-rw-r--r--include/oox/vml/vmltextbox.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/oox/vml/vmlformatting.hxx b/include/oox/vml/vmlformatting.hxx
index 2e212a52eb6f..05988f643755 100644
--- a/include/oox/vml/vmlformatting.hxx
+++ b/include/oox/vml/vmlformatting.hxx
@@ -238,7 +238,7 @@ struct OOX_DLLPUBLIC TextpathModel
TextpathModel();
/** Writes the properties to the passed property map. */
- void pushToPropMap(oox::drawingml::ShapePropertyMap& rPropMap, css::uno::Reference<css::drawing::XShape> xShape) const;
+ void pushToPropMap(oox::drawingml::ShapePropertyMap& rPropMap, const css::uno::Reference<css::drawing::XShape>& xShape) const;
};
} // namespace vml
diff --git a/include/oox/vml/vmltextbox.hxx b/include/oox/vml/vmltextbox.hxx
index 1c7ff8e2db3c..d4f6ef2b8e09 100644
--- a/include/oox/vml/vmltextbox.hxx
+++ b/include/oox/vml/vmltextbox.hxx
@@ -85,7 +85,7 @@ public:
const TextFontModel* getFirstFont() const;
/** Returns the entire text of all text portions. */
OUString getText() const;
- void convert(css::uno::Reference<css::drawing::XShape> xShape) const;
+ void convert(const css::uno::Reference<css::drawing::XShape>& xShape) const;
ShapeTypeModel& mrTypeModel;
/// Text distance from the border (inset attribute of v:textbox), valid only if set.