Added null-check when creating legend images in printing module to prevent null-pointer-exception
Merge pull request #47 from lat-lon/printingAndSearching-698

Added null-check when creating legend images in printing module to preve...