[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/plugins/textshape (silent)
From: Thomas Zander <zander () kde ! org>
Date: 2010-02-12 16:21:53
Message-ID: 1265991713.497607.14243.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1089178 by zander:
SVN_SILENT coding style fix
M +4 -4 TextShape.cpp
--- trunk/koffice/plugins/textshape/TextShape.cpp #1089177:1089178
@@ -151,14 +151,14 @@
// this is used to not trigger repaints if layout during the painting is \
done
// this enbales to use the same shapes on different pages showing \
different page numbers m_paintRegion = painter.clipRegion();
- if (!m_textShapeData->page() || page->pageNumber() != \
m_textShapeData->page()->pageNumber() ) { + if (!m_textShapeData->page() \
|| page->pageNumber() != m_textShapeData->page()->pageNumber()) { \
m_textShapeData->setPage(page); m_textShapeData->foul();
lay->interruptLayout();
m_textShapeData->fireResizeEvent();
}
- if ( lay ) {
+ if (lay) {
while (m_textShapeData->isDirty()){
lay->layout();
}
@@ -242,7 +242,7 @@
if (m_textShapeData->endPosition() < 0) return;
KoTextDocumentLayout *lay = \
qobject_cast<KoTextDocumentLayout*>(m_textShapeData->document()->documentLayout()); \
if (showTextFrames && lay) {
- QList< KoShape * > shapes = lay->shapes();
+ QList<KoShape *> shapes = lay->shapes();
// Get the bottom of the text.
bool moreText = false;
qreal max = m_textShapeData->documentOffset() + size().height();
@@ -417,7 +417,7 @@
}
else {
KoTextDocumentLayout *lay = \
qobject_cast<KoTextDocumentLayout*>(m_textShapeData->document()->documentLayout());
- if ( lay ) {
+ if (lay) {
while (m_textShapeData->isDirty()){
lay->layout();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic