Changeset View
Changeset View
Standalone View
Standalone View
src/renderer/odtframe/KoOdtFrameReportPrimitive.cpp
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | |||||
42 | 42 | | |||
43 | void KoOdtFrameReportPrimitive::setPrimitive(OROPrimitive *primitive) | 43 | void KoOdtFrameReportPrimitive::setPrimitive(OROPrimitive *primitive) | ||
44 | { | 44 | { | ||
45 | m_primitive = primitive; | 45 | m_primitive = primitive; | ||
46 | } | 46 | } | ||
47 | 47 | | |||
48 | int KoOdtFrameReportPrimitive::pageNumber() const | 48 | int KoOdtFrameReportPrimitive::pageNumber() const | ||
49 | { | 49 | { | ||
50 | return isValid() && m_primitive->page() ? m_primitive->page()->page() + 1 : 0; | 50 | return isValid() && m_primitive->page() ? m_primitive->page()->pageNumber() + 1 : 0; | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | void KoOdtFrameReportPrimitive::setUID(int uid) | 53 | void KoOdtFrameReportPrimitive::setUID(int uid) | ||
54 | { | 54 | { | ||
55 | m_uid = uid; | 55 | m_uid = uid; | ||
56 | } | 56 | } | ||
57 | 57 | | |||
58 | int KoOdtFrameReportPrimitive::uid() const | 58 | int KoOdtFrameReportPrimitive::uid() const | ||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |