summaryrefslogtreecommitdiffstats
path: root/src/rtfgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtfgen.cpp')
-rw-r--r--src/rtfgen.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index 0fac0b4..d500f27 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -207,6 +207,13 @@ void RTFGenerator::init()
createSubDirs(d);
}
+void RTFGenerator::cleanup()
+{
+ QCString dname = Config_getString(RTF_OUTPUT);
+ Dir d(dname.str());
+ clearSubDirs(d);
+}
+
static QCString makeIndexName(const QCString &s,int i)
{
QCString result=s;