void deleteOutlines() {
        PdfDictionary catalog = reader.getCatalog();
        PdfObject obj = catalog.get(PdfName.OUTLINES);
        if (obj == null)
        	return;
        if (obj instanceof PRIndirectReference) {
        	PRIndirectReference outlines = (PRIndirectReference)obj;
        	outlineTravel(outlines);
        	PdfReader.killIndirect(outlines);
        }
        catalog.remove(PdfName.OUTLINES);
        markUsed(catalog);
    }