diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-18 12:18:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-18 14:52:11 +0300 |
commit | bb9ed14fc1bf7dc20f1e951e67bb359c273033a3 (patch) | |
tree | c46e7e5708d3a2058233a41a08995e6c861703ea /src/gui/fonts/textchunklist.cpp | |
parent | 10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4 (diff) | |
download | mv-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.gz mv-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.bz2 mv-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.xz mv-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.zip |
fix code style.
Diffstat (limited to 'src/gui/fonts/textchunklist.cpp')
-rw-r--r-- | src/gui/fonts/textchunklist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/fonts/textchunklist.cpp b/src/gui/fonts/textchunklist.cpp index 98d90e23d..ec6083d7d 100644 --- a/src/gui/fonts/textchunklist.cpp +++ b/src/gui/fonts/textchunklist.cpp @@ -54,10 +54,10 @@ void TextChunkList::moveToFirst(TextChunk *const item) if (item == start) return; - TextChunk *oldPrev = item->prev; + TextChunk *const oldPrev = item->prev; if (oldPrev) oldPrev->next = item->next; - TextChunk *oldNext = item->next; + TextChunk *const oldNext = item->next; if (oldNext) oldNext->prev = item->prev; else @@ -121,7 +121,7 @@ void TextChunkList::clear() TextChunk *item = start; while (item) { - TextChunk *item2 = item->next; + TextChunk *const item2 = item->next; delete item; item = item2; } |