diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 13:32:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:39 +0200 |
commit | 40f8d2566022140ca3f2d45d7cbd8b7ab51125ed (patch) | |
tree | 4a8bd6baf43f3789425ff8d7e988e7928942169f /include/svx/svdmodel.hxx | |
parent | cb4015bb28dd7430efaaa523d04a155eb7e46305 (diff) |
loplugin:passstuffbyref in svx
Change-Id: I7d405830785cb12aaceb65d6ed03dda04aa90fd8
Diffstat (limited to 'include/svx/svdmodel.hxx')
-rw-r--r-- | include/svx/svdmodel.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index 9525e0cb3328..350acefe74dc 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -536,7 +536,7 @@ public: // Accessor methods for Palettes, Lists and Tables // FIXME: this badly needs re-factoring... - XPropertyListRef GetPropertyList( XPropertyListType t ) const { return maProperties[ t ]; } + const XPropertyListRef& GetPropertyList( XPropertyListType t ) const { return maProperties[ t ]; } void SetPropertyList( XPropertyListRef p ) { maProperties[ p->Type() ] = p; } // friendlier helpers |