On June 17 , 1915 , shortly after submitting his patent application for the doll 's design , Johnny Gruelle applied for a registered trademark for the Raggedy Ann name , which he created by combining words from two of James Whitcomb Riley poems , The Raggedy Man and Little Orphant Annie .