From 2354d22b7ce12738bb929fc9c513e70ebd9f34fb Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 21 Jul 2014 21:34:51 +0200 Subject: writerfilter: pass uno::Reference by reference in RTFValue Change-Id: I21d81d4454e65cf7f341f659b70b684dc3aa4621 --- writerfilter/source/rtftok/rtfvalue.hxx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'writerfilter/source/rtftok/rtfvalue.hxx') diff --git a/writerfilter/source/rtftok/rtfvalue.hxx b/writerfilter/source/rtftok/rtfvalue.hxx index af7d85744b42..9e9ec25358a1 100644 --- a/writerfilter/source/rtftok/rtfvalue.hxx +++ b/writerfilter/source/rtftok/rtfvalue.hxx @@ -26,17 +26,19 @@ class RTFValue { public: typedef boost::shared_ptr Pointer_t; - RTFValue(int nValue, const OUString& sValue, RTFSprms rAttributes, RTFSprms rSprms, css::uno::Reference rShape, - css::uno::Reference rStream, css::uno::Reference rObject, bool bForceString, - const RTFShape& aShape); + RTFValue(int nValue, const OUString& sValue, RTFSprms rAttributes, RTFSprms rSprms, + css::uno::Reference const& xShape, + css::uno::Reference const& xStream, + css::uno::Reference const& xObject, + bool bForceString, const RTFShape& aShape); RTFValue(); RTFValue(int nValue); RTFValue(const OUString& sValue, bool bForce = false); RTFValue(RTFSprms rAttributes); RTFValue(RTFSprms rAttributes, RTFSprms rSprms); - RTFValue(css::uno::Reference rShape); - RTFValue(css::uno::Reference rStream); - RTFValue(css::uno::Reference rObject); + RTFValue(css::uno::Reference const& xShape); + RTFValue(css::uno::Reference const& xStream); + RTFValue(css::uno::Reference const& xObject); RTFValue(const RTFShape& aShape); virtual ~RTFValue(); void setString(const OUString& sValue); -- cgit