Changeset View
Changeset View
Standalone View
Standalone View
src/renderer/KReportPreRenderer.cpp
Show First 20 Lines • Show All 362 Lines • ▼ Show 20 Line(s) | 348 | foreach(KReportItemBase *ob, objects) { | |||
---|---|---|---|---|---|
363 | } | 363 | } | ||
364 | 364 | | |||
365 | if (itemHeight > sectionHeight) { | 365 | if (itemHeight > sectionHeight) { | ||
366 | sectionHeight = itemHeight; | 366 | sectionHeight = itemHeight; | ||
367 | } | 367 | } | ||
368 | } | 368 | } | ||
369 | for (int i = 0; i < m_page->primitiveCount(); ++i) { | 369 | for (int i = 0; i < m_page->primitiveCount(); ++i) { | ||
370 | OROPrimitive *prim = m_page->primitive(i); | 370 | OROPrimitive *prim = m_page->primitive(i); | ||
371 | if (dynamic_cast<OROTextBox*>(prim)) { | 371 | if (OROTextBox *text = dynamic_cast<OROTextBox*>(prim)) { | ||
372 | OROTextBox *text = dynamic_cast<OROTextBox*>(prim); | | |||
373 | if (text->requiresPostProcessing()) { | 372 | if (text->requiresPostProcessing()) { | ||
374 | m_postProcText.append(text); | 373 | m_postProcText.append(text); | ||
375 | } | 374 | } | ||
376 | } | 375 | } | ||
377 | } | 376 | } | ||
378 | m_yOffset += sectionHeight; | 377 | m_yOffset += sectionHeight; | ||
379 | 378 | | |||
380 | return sectionHeight; | 379 | return sectionHeight; | ||
▲ Show 20 Lines • Show All 318 Lines • Show Last 20 Lines |