You will still use your original purchase date and price to calculate your gain or loss. It the accounting world we call it, your holding period tacks onto the new security. In short, yes, it sounds like you will still have a long term capital gain or loss.
This post is my own opinion, and should not be relied on for your investment decisions.