Convert the given sentence from direct speech to indirect speech.
He said, "I'm not doing that."
He said that he was not doing that.
Complete the following task based on the instruction and optional input provided.### Instruction:
Convert the given sentence from direct speech to indirect speech.

### Input:
He said, "I'm not doing that."

### Output:
He said that he was not doing that.