[poppler] utils/HtmlOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Wed Sep 10 14:04:51 PDT 2008
utils/HtmlOutputDev.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 491109edbe827860e764b5fcb67456867923858d
Author: Haruyuki Kawabe <Haruyuki.Kawabe at unisys.co.jp>
Date: Wed Sep 10 23:00:32 2008 +0200
Generate the outline file at the same place the other files are generated
Fixes bug 17504
diff --git a/utils/HtmlOutputDev.cc b/utils/HtmlOutputDev.cc
index eb9dc72..54f62e7 100644
--- a/utils/HtmlOutputDev.cc
+++ b/utils/HtmlOutputDev.cc
@@ -20,6 +20,7 @@
// Copyright (C) 2005-2008 Albert Astals Cid <aacid at kde.org>
// Copyright (C) 2008 Kjartan Maraas <kmaraas at gnome.org>
// Copyright (C) 2008 Boris Toloknov <tlknv at yandex.ru>
+// Copyright (C) 2008 Haruyuki Kawabe <Haruyuki.Kawabe at unisys.co.jp>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
@@ -1473,7 +1474,7 @@ GBool HtmlOutputDev::dumpDocOutline(Catalog* catalog)
}
else
{
- GooString *str = basename(Docname);
+ GooString *str = Docname->copy();
str->append("-outline.html");
output = fopen(str->getCString(), "w");
if (output == NULL)
More information about the poppler
mailing list