[Libreoffice-commits] core.git: sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Wed Feb 5 20:16:54 PST 2014


 sc/source/core/data/document.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 458c2482da665089f0fe7ca4f419ef11e33c9b13
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Wed Feb 5 23:20:56 2014 -0500

    Typo: s -> e
    
    Change-Id: Iae7db3816ab2aac81e433bfe3562eefa38ef7f62

diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 3f08fd6..9f5b3bb 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -6252,7 +6252,7 @@ void ScDocument::ForgetNoteCaptions( const ScRangeList& rRanges )
         const ScRange* p = rRanges[i];
         const ScAddress& s = p->aStart;
         const ScAddress& e = p->aEnd;
-        for (SCTAB nTab = s.Tab(); nTab <= s.Tab(); ++nTab)
+        for (SCTAB nTab = s.Tab(); nTab <= e.Tab(); ++nTab)
         {
             ScTable* pTab = FetchTable(nTab);
             if (!pTab)


More information about the Libreoffice-commits mailing list