diff options
Diffstat (limited to 'sw/source/ui/envelp/mailmrge.cxx')
-rw-r--r-- | sw/source/ui/envelp/mailmrge.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/mailmrge.cxx b/sw/source/ui/envelp/mailmrge.cxx index 63a05e81bd7b..a2e899a77910 100644 --- a/sw/source/ui/envelp/mailmrge.cxx +++ b/sw/source/ui/envelp/mailmrge.cxx @@ -528,7 +528,7 @@ bool SwMailMergeDlg::ExecQryShell() uno::Reference< XResultSet > xRes(xRowLocate,UNO_QUERY); pImpl->xSelSupp->getSelection() >>= m_aSelection; if ( xRowLocate.is() ) { - for (Any& rRow : m_aSelection) { + for (Any& rRow : asNonConstRange(m_aSelection)) { if ( xRowLocate->moveToBookmark(rRow) ) rRow <<= xRes->getRow(); } |