diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-06 19:00:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-08 08:31:45 +0200 |
commit | 40b1e5d40667e5863aa213a31fa1b06085bd407a (patch) | |
tree | f4e0fe96260e6bd52763af539729785853ba3734 /sc/source/ui/inc/docsh.hxx | |
parent | 107af098311beafaadb343c5a3634389f56006a0 (diff) |
loplugin:passstuffbyref
Change-Id: I6e6c47020073ec183c6c8ff9cd026a0bec23b177
Reviewed-on: https://gerrit.libreoffice.org/57088
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/docsh.hxx')
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 41c7e9b5845e..1005799e192f 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -227,7 +227,7 @@ public: ScDocument& GetDocument() { return m_aDocument; } ScDocFunc& GetDocFunc() { return *m_pDocFunc; } - css::uno::Reference<css::datatransfer::XTransferable2> GetClipData() { return m_xClipData; } + css::uno::Reference<css::datatransfer::XTransferable2> const & GetClipData() { return m_xClipData; } void SetClipData(const css::uno::Reference<css::datatransfer::XTransferable2>& xTransferable) { m_xClipData = xTransferable; } SfxPrinter* GetPrinter( bool bCreateIfNotExist = true ); |