--- xpdf-3.00/xpdf/XPDFViewer.cc 2004-01-22 01:26:45.000000000 +0000 +++ xpdf-3.00/xpdf/XPDFViewer.cc 2004-02-16 13:33:12.000000000 +0000 @@ -1592,7 +1592,6 @@ void XPDFViewer::setupOutline() { GList *items; UnicodeMap *uMap; - GString *enc; int i; // unmanage and destroy the old labels @@ -1611,11 +1610,8 @@ // create the new labels items = core->getDoc()->getOutline()->getItems(); if (items && items->getLength() > 0) { - enc = new GString("Latin1"); - uMap = globalParams->getUnicodeMap(enc); - delete enc; + uMap = globalParams->getTextEncoding(); setupOutlineItems(items, NULL, uMap); - uMap->decRefCnt(); } // manage the new labels