summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-07 16:18:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-07 18:36:59 +0100
commita7d008a8dfdc0a8b42061329b5e756b1b034abaf (patch)
tree10b39d74993bf79e169d5e02a0fbb45de9f58343 /include/svtools
parentebd43aee5b9cf98ed96ce28985267ad0bc980b7a (diff)
Resolves: tdf#106732 the intent was surely to return a const ref
Change-Id: Iaaa1f76a689645adaebf4fe5b87003ad238f71f2
Diffstat (limited to 'include/svtools')
-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 ];
}