diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-29 17:19:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-29 17:19:32 +0100 |
commit | 34dda497cdf0b131381c5d728a89343455d9c7d8 (patch) | |
tree | 1920b8c031c525adfdb9bbcaa5e7051ed728a8aa /sc/source/ui/docshell/dbdocimp.cxx | |
parent | 1ba9b792ccd6a27b56709917374a1ea03c0a000a (diff) |
Rewrite some (trivial) assignments inside if/while conditions: sc
Change-Id: Ia2dfbd64d63958d4f9c04e892cc7ebc250e9ca70
Diffstat (limited to 'sc/source/ui/docshell/dbdocimp.cxx')
-rw-r--r-- | sc/source/ui/docshell/dbdocimp.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/dbdocimp.cxx b/sc/source/ui/docshell/dbdocimp.cxx index 22f07c471680..408ae020ccd3 100644 --- a/sc/source/ui/docshell/dbdocimp.cxx +++ b/sc/source/ui/docshell/dbdocimp.cxx @@ -293,7 +293,8 @@ bool ScDBDocFunc::DoImport( SCTAB nTab, const ScImportParam& rParam, // skip rows that are not selected if ( !bDoSelection ) { - if ( !(bEnd = !xRowSet->next()) ) + bEnd = !xRowSet->next(); + if ( !bEnd ) ++nRowsRead; } else |