diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2014-07-26 01:15:37 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-07-26 01:15:37 +0200 |
commit | 1bb6f88d298d1019c0c635dbff197a6a57d16c26 (patch) | |
tree | dfec2b4f48bb8fdb6aabf6fd6ccb9b42a20b1d2c /kdoctools/xslt.cpp | |
parent | c2c65a66955132f1e7310e2f62e9607efcc22a3e (diff) | |
download | tdelibs-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.cpp | 6 |
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); } |