| 153 | } |
| 154 | |
| 155 | const undo::UndoState* DocumentUndo::nextRedo() const |
| 156 | { |
| 157 | const undo::UndoState* state = m_undoHistory.currentState(); |
| 158 | if (state) |
| 159 | return state->next(); |
| 160 | else |
| 161 | return m_undoHistory.firstState(); |
| 162 | } |
| 163 | |
| 164 | } // namespace app |
nothing calls this directly
no test coverage detected