include/svtools/insdlg.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d9736ca79ed3205bb091787e09ebb736ffd808a3 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Apr 7 16:18:22 2017 +0100 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 <c...@libreoffice.org> Reviewed-by: Michael Stahl <mst...@redhat.com> 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 ]; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits