summaryrefslogtreecommitdiffstats
path: root/include/vcl/builder.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-14 09:23:37 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-14 08:23:20 +0000
commitd8644c8edb405abd9d71e62e43e898c1d2a28fd2 (patch)
tree1d9f5e17b3f1a53cad84f2a3a1fe0875ec54d20b /include/vcl/builder.hxx
parentremove dead fields from WinSalSystem::DisplayMonitor (diff)
downloadcore-d8644c8edb405abd9d71e62e43e898c1d2a28fd2.tar.gz
core-d8644c8edb405abd9d71e62e43e898c1d2a28fd2.zip
loplugin:passstuffbyref in vcl
Change-Id: I17a4dc73c3fc81b0bfebdf442021af65f8f6166c Reviewed-on: https://gerrit.libreoffice.org/24075 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/builder.hxx')
-rw-r--r--include/vcl/builder.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index 1af5bc5628d2..928e51229677 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -106,7 +106,7 @@ public:
static void reorderWithinParent(std::vector< vcl::Window*>& rChilds, bool bIsButtonBox);
static void reorderWithinParent(vcl::Window &rWindow, sal_uInt16 nNewPosition);
- css::uno::Reference<css::frame::XFrame> getFrame() { return m_xFrame; }
+ const css::uno::Reference<css::frame::XFrame>& getFrame() { return m_xFrame; }
private:
VclBuilder(const VclBuilder&) = delete;