text: Having ready your link, I find it to be a "cherry picking" exercise. Since a "non-heterosexual" marriage is not recognized by Canon Law, Canon Law has nothing to say about it. The Catechism does have a lot to say about funerals the gist being; if you are baptized in the Church you get a Catholic funeral. Since the Catechism in reality precedes Canon Law, Canon Law being written to "support our beliefs," and our beliefs being stated in the Catechism, prior to quoting Canon Law, one should always consults the Catechism. If you read canon 1184, you will find that someone really needs to be "unhinged" and creating scandal to be denied a Catholic funeral. Note, I did not say funeral Mass. I doubt any local LGBT person who dies is considered notorious and causing grave scandal for the Church. 
  http://www.vatican.va/archive/ccc_css/archive/catechism/p2s2c4a2.htm
  http://www.vatican.va/archive/ENG1104/_P4C.HTM