summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/controls/framecontrol.cxx2
-rw-r--r--UnoControls/source/inc/framecontrol.hxx2
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