summaryrefslogtreecommitdiff
path: root/writerfilter/source/rtftok/rtfvalue.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-07-21 21:34:51 +0200
committerMichael Stahl <mstahl@redhat.com>2014-07-22 16:32:35 +0200
commit2354d22b7ce12738bb929fc9c513e70ebd9f34fb (patch)
tree61f414a7e0912a6fd4cf39477489f0f4e455a856 /writerfilter/source/rtftok/rtfvalue.hxx
parent1398bdf35ecffcf4629f81f64cab51ab1b6a24ad (diff)
writerfilter: pass uno::Reference by reference in RTFValue
Change-Id: I21d81d4454e65cf7f341f659b70b684dc3aa4621
Diffstat (limited to 'writerfilter/source/rtftok/rtfvalue.hxx')
-rw-r--r--writerfilter/source/rtftok/rtfvalue.hxx14
1 files changed, 8 insertions, 6 deletions
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<RTFValue> Pointer_t;
- RTFValue(int nValue, const OUString& sValue, RTFSprms rAttributes, RTFSprms rSprms, css::uno::Reference<css::drawing::XShape> rShape,
- css::uno::Reference<css::io::XInputStream> rStream, css::uno::Reference<css::embed::XEmbeddedObject> rObject, bool bForceString,
- const RTFShape& aShape);
+ RTFValue(int nValue, const OUString& sValue, RTFSprms rAttributes, RTFSprms rSprms,
+ css::uno::Reference<css::drawing::XShape> const& xShape,
+ css::uno::Reference<css::io::XInputStream> const& xStream,
+ css::uno::Reference<css::embed::XEmbeddedObject> 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<css::drawing::XShape> rShape);
- RTFValue(css::uno::Reference<css::io::XInputStream> rStream);
- RTFValue(css::uno::Reference<css::embed::XEmbeddedObject> rObject);
+ RTFValue(css::uno::Reference<css::drawing::XShape> const& xShape);
+ RTFValue(css::uno::Reference<css::io::XInputStream> const& xStream);
+ RTFValue(css::uno::Reference<css::embed::XEmbeddedObject> const& xObject);
RTFValue(const RTFShape& aShape);
virtual ~RTFValue();
void setString(const OUString& sValue);