Kaydet (Commit) a20116d4 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

coverity#735378: fix copy&paste error

Change-Id: Id5d7939ba8020cd966d1ff2678186ad912325a78
üst 21171e0a
......@@ -63,7 +63,7 @@ ScDocumentIterator::ScDocumentIterator( ScDocument* pDocument,
SCTAB nDocMaxTab = pDoc->GetTableCount() - 1;
PutInOrder( nStartTab, nEndTab );
if (!ValidTab(nStartTab) || nStartTab > nDocMaxTab ) nStartTab = nDocMaxTab;
if (!ValidTab(nEndTab) || nStartTab > nDocMaxTab ) nEndTab = nDocMaxTab;
if (!ValidTab(nEndTab) || nEndTab > nDocMaxTab ) nEndTab = nDocMaxTab;
pDefPattern = pDoc->GetDefPattern();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment