diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 14:42:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:39 +0200 |
commit | 868444c803a3ba197068d487d3507089cc1e9afa (patch) | |
tree | 1510bdac1c102d152b444ea582c4870708dc2b45 /include/xmloff/xmlexp.hxx | |
parent | f34cc90df9e6e7bc7d58a4ed4be71a63f0ec5ae4 (diff) |
loplugin:passstuffbyref in xmloff
Change-Id: I5995510c5c0686e5e69e8853d81dcba83ae96211
Diffstat (limited to 'include/xmloff/xmlexp.hxx')
-rw-r--r-- | include/xmloff/xmlexp.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx index 6240cb7a9f3d..41e8ddd8d417 100644 --- a/include/xmloff/xmlexp.hxx +++ b/include/xmloff/xmlexp.hxx @@ -455,9 +455,9 @@ public: inline bool HasFormExport(); // get XPropertySet with export information - inline css::uno::Reference< css::beans::XPropertySet > getExportInfo() const { return mxExportInfo; } + const css::uno::Reference< css::beans::XPropertySet >& getExportInfo() const { return mxExportInfo; } - css::uno::Reference< css::task::XStatusIndicator > GetStatusIndicator() { return mxStatusIndicator; } + const css::uno::Reference< css::task::XStatusIndicator >& GetStatusIndicator() { return mxStatusIndicator; } /// get Event export, with handlers for script types "None" and /// "StarBasic" already registered; other handlers may be registered, too. @@ -530,7 +530,7 @@ public: ::comphelper::UnoInterfaceToUniqueIdentifierMapper& getInterfaceToIdentifierMapper(); - css::uno::Reference< css::uno::XComponentContext > getComponentContext() { return m_xContext;} + const css::uno::Reference< css::uno::XComponentContext >& getComponentContext() { return m_xContext;} // Shapes in Writer cannot be named via context menu (#i51726#) SvtModuleOptions::EFactory GetModelType() const |