check for valid ptr
check for valid ptr
hdijkema/PDF-Writer,hdijkema/PDF-Writer,hdijkema/PDF-Writer,hdijkema/PDF-Writer,galkahana/PDF-Writer,galkahana/PDF-Writer,galkahana/PDF-Writer,galkahana/PDF-Writer,hdijkema/PDF-Writer,galkahana/PDF-Writer