[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - include/svtools
Caolán McNamara
caolanm at redhat.com
Fri Apr 7 20:16:11 UTC 2017
include/svtools/insdlg.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d9736ca79ed3205bb091787e09ebb736ffd808a3
Author: Caolán McNamara <caolanm at 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 <ci at libreoffice.org>
Reviewed-by: Michael Stahl <mstahl at 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 ];
}
More information about the Libreoffice-commits
mailing list