diff options
Diffstat (limited to 'oox/source/vml')
-rw-r--r-- | oox/source/vml/vmlformatting.cxx | 2 | ||||
-rw-r--r-- | oox/source/vml/vmltextbox.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/vml/vmlformatting.cxx b/oox/source/vml/vmlformatting.cxx index 1d1dedbe0b65..73452ec21145 100644 --- a/oox/source/vml/vmlformatting.cxx +++ b/oox/source/vml/vmlformatting.cxx @@ -853,7 +853,7 @@ beans::PropertyValue lcl_createTextpathProps() return aRet; } -void TextpathModel::pushToPropMap(ShapePropertyMap& rPropMap, uno::Reference<drawing::XShape> xShape) const +void TextpathModel::pushToPropMap(ShapePropertyMap& rPropMap, const uno::Reference<drawing::XShape>& xShape) const { if (moString.has()) { diff --git a/oox/source/vml/vmltextbox.cxx b/oox/source/vml/vmltextbox.cxx index 09b87b397edf..395bf1e3c1ea 100644 --- a/oox/source/vml/vmltextbox.cxx +++ b/oox/source/vml/vmltextbox.cxx @@ -73,7 +73,7 @@ OUString TextBox::getText() const return aBuffer.makeStringAndClear(); } -void TextBox::convert(uno::Reference<drawing::XShape> xShape) const +void TextBox::convert(const uno::Reference<drawing::XShape>& xShape) const { uno::Reference<text::XTextAppend> xTextAppend(xShape, uno::UNO_QUERY); for (PortionVector::const_iterator aIt = maPortions.begin(), aEnd = maPortions.end(); aIt != aEnd; ++aIt) |