summaryrefslogtreecommitdiffstats
path: root/kdoctools/xslt.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-07-26 01:15:37 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-07-26 01:15:37 +0200
commit1bb6f88d298d1019c0c635dbff197a6a57d16c26 (patch)
treedfec2b4f48bb8fdb6aabf6fd6ccb9b42a20b1d2c /kdoctools/xslt.cpp
parentc2c65a66955132f1e7310e2f62e9607efcc22a3e (diff)
downloadtdelibs-1bb6f88d298d1019c0c635dbff197a6a57d16c26.tar.gz
tdelibs-1bb6f88d298d1019c0c635dbff197a6a57d16c26.zip
Add docbook catalogs in xml format
Switch docbook catalogs to xml This resolves Bug 2077
Diffstat (limited to 'kdoctools/xslt.cpp')
-rw-r--r--kdoctools/xslt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdoctools/xslt.cpp b/kdoctools/xslt.cpp
index a6e144ce8..94c66ff6a 100644
--- a/kdoctools/xslt.cpp
+++ b/kdoctools/xslt.cpp
@@ -183,12 +183,12 @@ void fillInstance(TDEInstance &ins, const TQString &srcdir) {
TQString catalogs;
if ( srcdir.isEmpty() ) {
- catalogs += ins.dirs()->findResource("data", "ksgmltools2/customization/catalog");
+ catalogs += ins.dirs()->findResource("data", "ksgmltools2/customization/catalog.xml");
catalogs += ':';
- catalogs += ins.dirs()->findResource("data", "ksgmltools2/docbook/xml-dtd-4.2/docbook.cat");
+ catalogs += ins.dirs()->findResource("data", "ksgmltools2/docbook/xml-dtd-4.2/catalog.xml");
ins.dirs()->addResourceType("dtd", TDEStandardDirs::kde_default("data") + "ksgmltools2");
} else {
- catalogs += srcdir +"/customization/catalog:" + srcdir + "/docbook/xml-dtd-4.2/docbook.cat";
+ catalogs += srcdir +"/customization/catalog.xml:" + srcdir + "/docbook/xml-dtd-4.2/catalog.xml";
ins.dirs()->addResourceDir("dtd", srcdir);
}