[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kate/buffer
From: Christoph Cullmann <cullmann () kde ! org>
Date: 2010-11-06 18:33:36
Message-ID: 20101106183336.15585AC89E () svn ! kde ! org
[Download RAW message or body]
SVN commit 1193677 by cullmann:
mwolff:
opt: use non-detaching .value() instad of operator[
M +1 -1 katetextblock.cpp
--- trunk/KDE/kdelibs/kate/buffer/katetextblock.cpp #1193676:1193677
@@ -526,7 +526,7 @@
/**
* The range is still a single-line range, and is still cached to the correct \
line.
*/
- if(isSingleLine && m_cachedLineForRanges.contains (range) && \
(m_cachedLineForRanges[range] == startLine - m_startLine)) + if(isSingleLine && \
m_cachedLineForRanges.contains (range) && (m_cachedLineForRanges.value(range) == \
startLine - m_startLine)) return;
/**
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic