diff options
author | Noel Power <noel.power@novell.com> | 2011-07-27 10:51:14 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-07-27 10:51:14 +0100 |
commit | e9abbfb34d0b57127688fc0135b463cd3ecaaf2d (patch) | |
tree | ca0ea05d0c7faaecb957ec37e575f3b7931d74ad | |
parent | e4a250ea29d9962f01af56680db4658f07c1b852 (diff) |
fix wae ( because wrong loop counter variable used )
-rw-r--r-- | sc/source/core/data/document.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 62e48c54d..0c229b915 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -1896,7 +1896,7 @@ void ScDocument::CopyToClip(const ScClipParam& rClipParam, CopyRangeNamesToClip(pClipDoc, aClipRange, pMarks, bAllTabs); - for ( ; i < nTab; ++i) + for ( ; i < nEndTab; ++i) { if (!maTabs[i] || i >= static_cast<SCTAB>(pClipDoc->maTabs.size()) || !pClipDoc->maTabs[i]) continue; |