| 3479 | } |
| 3480 | |
| 3481 | void Document::prepareToModifyAnnotationProperties(Annotation *annotation) |
| 3482 | { |
| 3483 | Q_ASSERT(d->m_prevPropsOfAnnotBeingModified.isNull()); |
| 3484 | if (!d->m_prevPropsOfAnnotBeingModified.isNull()) { |
| 3485 | qCCritical(OkularCoreDebug) << "Error: Document::prepareToModifyAnnotationProperties has already been called since last call to Document::modifyPageAnnotationProperties"; |
| 3486 | return; |
| 3487 | } |
| 3488 | d->m_prevPropsOfAnnotBeingModified = annotation->getAnnotationPropertiesDomNode(); |
| 3489 | } |
| 3490 | |
| 3491 | void Document::modifyPageAnnotationProperties(int page, Annotation *annotation) |
| 3492 | { |