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>2015-12-23 02:22:45 +0100
commite6f29b0111c8f6e3de8dec06d23063d3d5668203 (patch)
tree8daa0b309aaaaa5cf7e505e6a76ff13f41b420c0 /kdoctools/xslt.cpp
parent89049217d739169ec6dfee3d03c8cd9c598c7c2d (diff)
downloadtdelibs-e6f29b0111c8f6e3de8dec06d23063d3d5668203.tar.gz
tdelibs-e6f29b0111c8f6e3de8dec06d23063d3d5668203.zip
Add docbook catalogs in xml format
Switch docbook catalogs to xml This resolves Bug 2077 (cherry picked from commit 1bb6f88d298d1019c0c635dbff197a6a57d16c26)
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 f9803ff0d..9c34bd4c7 100644
--- a/kdoctools/xslt.cpp
+++ b/kdoctools/xslt.cpp
@@ -183,12 +183,12 @@ void fillInstance(KInstance &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", KStandardDirs::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);
}