summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-07 16:18:22 +0100
committerAndras Timar <andras.timar@collabora.com>2017-04-08 18:09:07 +0200
commit41df401c698498a9fd300af127343cc252e9d030 (patch)
tree3f7740bd4918d0ce12483dc8a42bbc023b154d8f
parent5314bc77e0b6c596170ee142a514c0c390d8c2e7 (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/36276 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit d9736ca79ed3205bb091787e09ebb736ffd808a3)
-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 ];
}