fix minor bug which was causing paragraph breaks around footnotes and endnotes.
fix minor bug which was causing paragraph breaks around footnotes and
endnotes.

Distrotech/libpwd,cpjreynolds/libwpd,cpjreynolds/libwpd,Distrotech/librevenge,Distrotech/librevenge,cpjreynolds/libwpd,Distrotech/librevenge,Distrotech/libpwd,Distrotech/libpwd,Distrotech/librevenge,Distrotech/libpwd,Distrotech/librevenge