summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp
diff options
context:
space:
mode:
authoros <os@openoffice.org>2010-07-30 09:29:09 +0200
committeros <os@openoffice.org>2010-07-30 09:29:09 +0200
commit950cd66c0a3df752ac43c90129cf01adfebb7734 (patch)
tree92638299f0dc8a78cd6cbe5ffe994229a4f5af3f /sw/source/ui/envelp
parentaf28136af5ad03115ef1564406d6339aa041b891 (diff)
#i109951# from-to-selection error fixed
Diffstat (limited to 'sw/source/ui/envelp')
-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() )