summaryrefslogtreecommitdiff
path: root/include/svx/fmsrcimp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/fmsrcimp.hxx')
-rw-r--r--include/svx/fmsrcimp.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/fmsrcimp.hxx b/include/svx/fmsrcimp.hxx
index 6e5ed194d0ff..2f1f9ebdc454 100644
--- a/include/svx/fmsrcimp.hxx
+++ b/include/svx/fmsrcimp.hxx
@@ -126,7 +126,7 @@ namespace svxform {
css::uno::Reference< css::uno::XInterface > m_xControl;
// attribute access
public:
- css::uno::Reference< css::uno::XInterface > getControl() const{ return m_xControl; }
+ const css::uno::Reference< css::uno::XInterface >& getControl() const{ return m_xControl; }
public:
ControlTextWrapper(const css::uno::Reference< css::uno::XInterface >& _xControl) { m_xControl = _xControl; }
virtual ~ControlTextWrapper() { }