summaryrefslogtreecommitdiff
path: root/include/xmloff/shapeexport.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 14:42:54 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:39 +0200
commit868444c803a3ba197068d487d3507089cc1e9afa (patch)
tree1510bdac1c102d152b444ea582c4870708dc2b45 /include/xmloff/shapeexport.hxx
parentf34cc90df9e6e7bc7d58a4ed4be71a63f0ec5ae4 (diff)
loplugin:passstuffbyref in xmloff
Change-Id: I5995510c5c0686e5e69e8853d81dcba83ae96211
Diffstat (limited to 'include/xmloff/shapeexport.hxx')
-rw-r--r--include/xmloff/shapeexport.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xmloff/shapeexport.hxx b/include/xmloff/shapeexport.hxx
index 97699b86ca14..70cc92378100 100644
--- a/include/xmloff/shapeexport.hxx
+++ b/include/xmloff/shapeexport.hxx
@@ -180,7 +180,7 @@ protected:
const SvXMLExport& GetExport() const { return mrExport; }
private:
- SAL_DLLPRIVATE rtl::Reference< SvXMLExportPropertyMapper > GetPropertySetMapper() const { return mxPropertySetMapper; }
+ SAL_DLLPRIVATE const rtl::Reference< SvXMLExportPropertyMapper >& GetPropertySetMapper() const { return mxPropertySetMapper; }
const OUString msZIndex;
const OUString msPrintable;
@@ -291,7 +291,7 @@ public:
void setAnimationsExporter( rtl::Reference< XMLAnimationsExporter > xAnimExport ) { mxAnimationsExporter = xAnimExport; }
/** returns the last set XMLAnimationExport */
- rtl::Reference< XMLAnimationsExporter > getAnimationsExporter() const { return mxAnimationsExporter; }
+ const rtl::Reference< XMLAnimationsExporter >& getAnimationsExporter() const { return mxAnimationsExporter; }
/// returns the export property mapper for external chaining
static SvXMLExportPropertyMapper* CreateShapePropMapper( SvXMLExport& rExport );