Insert | Reference | Index and Tables | Table of Contents | uncheck the
"Use hyperlinks instead of page numbers" box.
Or if you have already created the TOC and don't want to recreate it,
you can press Alt+F9 to toggle Field Code Display on, and then delete
the \h switch from each TOC field.