summaryrefslogtreecommitdiffstats
path: root/include/xmloff/XMLTextMasterPageContext.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/XMLTextMasterPageContext.hxx
parentloplugin:passstuffbyref in vbahelper (diff)
downloadcore-868444c803a3ba197068d487d3507089cc1e9afa.tar.gz
core-868444c803a3ba197068d487d3507089cc1e9afa.zip
loplugin:passstuffbyref in xmloff
Change-Id: I5995510c5c0686e5e69e8853d81dcba83ae96211
Diffstat (limited to 'include/xmloff/XMLTextMasterPageContext.hxx')
-rw-r--r--include/xmloff/XMLTextMasterPageContext.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmloff/XMLTextMasterPageContext.hxx b/include/xmloff/XMLTextMasterPageContext.hxx
index 56d099eec9c1..562174f0f8ac 100644
--- a/include/xmloff/XMLTextMasterPageContext.hxx
+++ b/include/xmloff/XMLTextMasterPageContext.hxx
@@ -53,7 +53,7 @@ class XMLOFF_DLLPUBLIC XMLTextMasterPageContext : public SvXMLStyleContext
SAL_DLLPRIVATE css::uno::Reference< css::style::XStyle > Create();
protected:
- css::uno::Reference< css::style::XStyle > GetStyle() { return xStyle; }
+ const css::uno::Reference< css::style::XStyle >& GetStyle() { return xStyle; }
public: