diff options
author | Christoph Lutz <christoph.lutz_ml@cib.de> | 2015-03-23 13:50:52 +0000 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-04-15 07:17:36 +0000 |
commit | b092dfa9316212722b56b9e027c54eee91aba963 (patch) | |
tree | c3e09820f56e48c3a2c3637e93c22ff931a7628c /sw | |
parent | 5a04ff004f57769a2635269eefd3177966348143 (diff) |
tdf#90594: MM: Fix for broken translation between Bookmarks and row indizes
The datasets used in the unomailmerge service can be selected via a
property "Selection". This property expects a sequence of sdbc::Bookmark
elements that need to be translated into row-inizes. This translation
was broken - the loop-pointer pTranslated was never incremented which
caused a wrong "result" selection in which only the first element was
changed.
Change-Id: I319131caa89e327b11406ab7d0c56a833385d433
Reviewed-on: https://gerrit.libreoffice.org/15289
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uno/unomailmerge.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/uno/unomailmerge.cxx b/sw/source/uibase/uno/unomailmerge.cxx index 31cbc114cdf9..65d78e54fed0 100644 --- a/sw/source/uibase/uno/unomailmerge.cxx +++ b/sw/source/uibase/uno/unomailmerge.cxx @@ -573,6 +573,7 @@ uno::Any SAL_CALL SwXMailMerge::execute( *pTranslated <<= xCurResultSet->getRow(); else bEverythingsFine = false; + ++pTranslated; } if ( bEverythingsFine ) bValid = true; |