[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - dbaccess/source
Lionel Elie Mamane
lionel at mamane.lu
Mon Jun 6 08:33:27 UTC 2016
dbaccess/source/ui/querydesign/querydlg.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 22ea5aef84996520062b2c5d58757cd6f00c98ee
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Sat Jun 4 17:40:09 2016 +0200
tdf#96516 fixup: when removing entry, entry count does not stay constant
Change-Id: I192a2d14787581545e66c46a84507f6dfd191c57
Reviewed-on: https://gerrit.libreoffice.org/25891
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
diff --git a/dbaccess/source/ui/querydesign/querydlg.cxx b/dbaccess/source/ui/querydesign/querydlg.cxx
index 3ea04b4..48b2195 100644
--- a/dbaccess/source/ui/querydesign/querydlg.cxx
+++ b/dbaccess/source/ui/querydesign/querydlg.cxx
@@ -122,8 +122,7 @@ DlgQryJoin::DlgQryJoin( OQueryTableView * pParent,
}
else
{
- const sal_Int32 nCount = m_pLB_JoinType->GetEntryCount();
- for (sal_Int32 i = 0; i < nCount;)
+ for (sal_Int32 i = 0; i < m_pLB_JoinType->GetEntryCount();)
{
const sal_IntPtr nJoinTyp = reinterpret_cast<sal_IntPtr>(m_pLB_JoinType->GetEntryData(i));
if ( !bSupportFullJoin && nJoinTyp == ID_FULL_JOIN )
More information about the Libreoffice-commits
mailing list