summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-07 16:18:22 +0100
committerMichael Stahl <mstahl@redhat.com>2017-04-07 20:16:33 +0000
commit1946bdabb8132a1989024f1bcd1d24806e1fae9e (patch)
treef47554c32719ade95aa6a4eb2cb072169b9194a5
parent8da7b298272d04b19150d303292270f85b99858b (diff)
Resolves: tdf#106732 the intent was surely to return a const ref
Change-Id: Iaaa1f76a689645adaebf4fe5b87003ad238f71f2 (cherry picked from commit a7d008a8dfdc0a8b42061329b5e756b1b034abaf) Reviewed-on: https://gerrit.libreoffice.org/36278 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--include/svtools/insdlg.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/insdlg.hxx b/include/svtools/insdlg.hxx
index 5e18693663b3..58bada8fadd2 100644
--- a/include/svtools/insdlg.hxx
+++ b/include/svtools/insdlg.hxx
@@ -60,7 +60,7 @@ public:
return aObjectServerList.size();
}
- const SvObjectServer operator[]( size_t n ) const
+ const SvObjectServer& operator[]( size_t n ) const
{
return aObjectServerList[ n ];
}