summaryrefslogtreecommitdiffstats
path: root/tools/bootstrp
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-17 15:31:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-17 15:50:31 +0100
commit3aeeb8fb5d5342b73f1b2f8dde9f270b46bd94c2 (patch)
tree3b4998608ef3385eb5d7f383546734417a7c06d0 /tools/bootstrp
parentregenerate list (diff)
downloadcore-3aeeb8fb5d5342b73f1b2f8dde9f270b46bd94c2.tar.gz
core-3aeeb8fb5d5342b73f1b2f8dde9f270b46bd94c2.zip
remove freshly unused code
Diffstat (limited to 'tools/bootstrp')
-rw-r--r--tools/bootstrp/cppdep.cxx10
-rw-r--r--tools/bootstrp/cppdep.hxx1
2 files changed, 1 insertions, 10 deletions
diff --git a/tools/bootstrp/cppdep.cxx b/tools/bootstrp/cppdep.cxx
index e291777e89f0..a5a64fd0f6ce 100644
--- a/tools/bootstrp/cppdep.cxx
+++ b/tools/bootstrp/cppdep.cxx
@@ -39,14 +39,6 @@
#include <comphelper/string.hxx>
#include "cppdep.hxx"
-CppDep::CppDep( ByteString aFileName )
-{
- aSourceFile = aFileName;
-
- pSearchPath = new ByteStringList;
- pFileList = new ByteStringList;
-}
-
CppDep::CppDep()
{
pSources = new ByteStringList;
@@ -245,7 +237,7 @@ rtl::OString CppDep::IsIncludeStatement(rtl::OString aLine)
int main( int argc, char **argv )
{
- CppDep *pDep = new CppDep( "cppdep.cxx" );
+ CppDep *pDep = new CppDep();
pDep->AddSearchPath(".");
pDep->AddSearchPath("/usr/include");
pDep->AddSearchPath("/usr/local/include");
diff --git a/tools/bootstrp/cppdep.hxx b/tools/bootstrp/cppdep.hxx
index 2d80074e35a4..ca41dea188ac 100644
--- a/tools/bootstrp/cppdep.hxx
+++ b/tools/bootstrp/cppdep.hxx
@@ -47,7 +47,6 @@ protected:
rtl::OString IsIncludeStatement(rtl::OString aLine);
public:
- CppDep( ByteString aFileName );
CppDep();
virtual ~CppDep();
virtual void Execute();