summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authoros <os@openoffice.org>2010-11-05 11:26:52 +0100
committeros <os@openoffice.org>2010-11-05 11:26:52 +0100
commit8b2b55dd10c6c683d1af91419b6e0c0fe59e124c (patch)
treedca608c40935f39e14882bcb63800cbb8156d68b /sw/source/ui
parente3c793047f798f8b6acc55e5f550003ededc9544 (diff)
#i112413# for statement fixed
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/envelp/mailmrge.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/mailmrge.cxx b/sw/source/ui/envelp/mailmrge.cxx
index 141adf35ddf0..43ef58b11d7c 100644
--- a/sw/source/ui/envelp/mailmrge.cxx
+++ b/sw/source/ui/envelp/mailmrge.cxx
@@ -779,7 +779,7 @@ bool SwMailMergeDlg::ExecQryShell()
m_aSelection.realloc(nEnd - nStart + 1);
Any* pSelection = m_aSelection.getArray();
- for (sal_Int32 i = nStart; i != nEnd; ++i, ++pSelection)
+ for (sal_Int32 i = nStart; i <= nEnd; ++i, ++pSelection)
*pSelection <<= i;
}
else if (aAllRB.IsChecked() )