diff options
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableRowExchange.cxx')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableRowExchange.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableRowExchange.cxx b/dbaccess/source/ui/tabledesign/TableRowExchange.cxx index a0aebcbc7b72..910b912d75b5 100644 --- a/dbaccess/source/ui/tabledesign/TableRowExchange.cxx +++ b/dbaccess/source/ui/tabledesign/TableRowExchange.cxx @@ -61,7 +61,8 @@ namespace dbaui { (*rxOStm) << (sal_Int32)pRows->size(); // first stream the size ::std::vector< ::boost::shared_ptr<OTableRow> >::const_iterator aIter = pRows->begin(); - for(;aIter != pRows->end();++aIter) + ::std::vector< ::boost::shared_ptr<OTableRow> >::const_iterator aEnd = pRows->end(); + for(;aIter != aEnd;++aIter) (*rxOStm) << *(*aIter); return sal_True; } |