diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-18 09:22:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-27 06:48:25 +0000 |
commit | 508c95f1b655d9cfa6be37a5a9de9aff6fd383bf (patch) | |
tree | d1c8626818cbf26a699875ae2d82f751a1657e92 /UnoControls | |
parent | 9f4af777a832d8a0b9a21d793d421fa6228131e0 (diff) |
improve passstuffbyref return analysis
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c
Reviewed-on: https://gerrit.libreoffice.org/27317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'UnoControls')
-rw-r--r-- | UnoControls/source/controls/framecontrol.cxx | 2 | ||||
-rw-r--r-- | UnoControls/source/inc/framecontrol.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx index 658974f3df31..091a86dec91d 100644 --- a/UnoControls/source/controls/framecontrol.cxx +++ b/UnoControls/source/controls/framecontrol.cxx @@ -491,7 +491,7 @@ void FrameControl::impl_deleteFrame() // private method -const Sequence< Property > FrameControl::impl_getStaticPropertyDescriptor() +const Sequence< Property >& FrameControl::impl_getStaticPropertyDescriptor() { // All Properties of this implementation. The array must be sorted! static const Property pPropertys[PROPERTY_COUNT] = diff --git a/UnoControls/source/inc/framecontrol.hxx b/UnoControls/source/inc/framecontrol.hxx index fa17ebfa6446..e98fdecc8fa9 100644 --- a/UnoControls/source/inc/framecontrol.hxx +++ b/UnoControls/source/inc/framecontrol.hxx @@ -205,7 +205,7 @@ private: void impl_deleteFrame(); - static const css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor(); + static const css::uno::Sequence< css::beans::Property >& impl_getStaticPropertyDescriptor(); // private variables |