summaryrefslogtreecommitdiffstats
path: root/soltools
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-02-08 09:18:14 +0100
committersb <sb@openoffice.org>2010-02-08 09:18:14 +0100
commit8d776f1544087c7851fb7d4bd3d52bbfc785164a (patch)
tree52922fbe5e7e016a597a6adf5f68cadc57b76f85 /soltools
parentsb118: reverted parts of HG -c 160b248247a0 again: the "static code executing... (diff)
parent#i10000# latest and greatest configure (diff)
downloadcore-8d776f1544087c7851fb7d4bd3d52bbfc785164a.tar.gz
core-8d776f1544087c7851fb7d4bd3d52bbfc785164a.zip
sb118: merged in DEV300_m71
Diffstat (limited to 'soltools')
-rwxr-xr-xsoltools/mkdepend/collectdircontent.cxx4
-rw-r--r--soltools/mkdepend/collectdircontent.hxx1
-rw-r--r--soltools/mkdepend/main.c3
3 files changed, 8 insertions, 0 deletions
diff --git a/soltools/mkdepend/collectdircontent.cxx b/soltools/mkdepend/collectdircontent.cxx
index 691996d56cca..c9308faf0562 100755
--- a/soltools/mkdepend/collectdircontent.cxx
+++ b/soltools/mkdepend/collectdircontent.cxx
@@ -73,6 +73,10 @@ extern "C" {
return new IncludesCollection;
}
+ void delete_IncludesCollection(IncludesCollection *m) {
+ delete m;
+ }
+
int call_IncludesCollection_exists(IncludesCollection* m, const char * filePath) {
return m->exists(filePath);
}
diff --git a/soltools/mkdepend/collectdircontent.hxx b/soltools/mkdepend/collectdircontent.hxx
index 1ffd9cf60f0c..1896df0c8bc7 100644
--- a/soltools/mkdepend/collectdircontent.hxx
+++ b/soltools/mkdepend/collectdircontent.hxx
@@ -47,6 +47,7 @@ extern "C" {
#endif
struct IncludesCollection * create_IncludesCollection(void);
+void delete_IncludesCollection(struct IncludesCollection *);
int call_IncludesCollection_exists(struct IncludesCollection* m, const char* filePath);
diff --git a/soltools/mkdepend/main.c b/soltools/mkdepend/main.c
index a786f5a4d7f6..fd9bdc18e5d2 100644
--- a/soltools/mkdepend/main.c
+++ b/soltools/mkdepend/main.c
@@ -465,6 +465,9 @@ int main(argc, argv)
}
if (printed)
printf("\n");
+
+ delete_IncludesCollection(incCollection);
+
exit(0);
}