summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/mailmrge.cxx
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-11-08 17:39:47 +0100
committerVladimir Glazunov <vg@openoffice.org>2010-11-08 17:39:47 +0100
commit55046b9eadc7d0af117381c2675abdf47fdd2ffe (patch)
treedec91954c003d81d68386330af1903f56ae412cf /sw/source/ui/envelp/mailmrge.cxx
parent08e6b37aa79d37741043b0c975a81a806815d339 (diff)
parent481d76f6bac2256082a290f93b9890a13c401f69 (diff)
CWS-TOOLING: integrate CWS os143
Diffstat (limited to 'sw/source/ui/envelp/mailmrge.cxx')
-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() )