------------------------------------------------------------------------------
| 120 | |
| 121 | //------------------------------------------------------------------------------ |
| 122 | bool vtkQtAnnotationLayersModelAdapter::noAnnotationsCheck() const |
| 123 | { |
| 124 | if (this->Annotations == nullptr) |
| 125 | { |
| 126 | // It's not necessarily an error to have a null pointer for the |
| 127 | // table. It just means that the model is empty. |
| 128 | return true; |
| 129 | } |
| 130 | if (this->Annotations->GetNumberOfAnnotations() == 0) |
| 131 | { |
| 132 | return true; |
| 133 | } |
| 134 | return false; |
| 135 | } |
| 136 | |
| 137 | //------------------------------------------------------------------------------ |
| 138 | // Description: |
no test coverage detected