summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-02-17 07:32:12 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-02-17 07:33:23 +0900
commit5ef266242aa3f0d5b19040d6f241b13a57b4b498 (patch)
tree15dedbbe1832388cefe95a247e78592ba6547b59 /tools
parent3fb3eebd8815a4150b30a1562ba88e717306971e (diff)
Removed dead code
Diffstat (limited to 'tools')
-rw-r--r--tools/bootstrp/addexes2/mkfilt.cxx1
-rw-r--r--tools/bootstrp/command.cxx4
-rw-r--r--tools/bootstrp/prj.cxx2
-rw-r--r--tools/bootstrp/rscdep.cxx6
4 files changed, 0 insertions, 13 deletions
diff --git a/tools/bootstrp/addexes2/mkfilt.cxx b/tools/bootstrp/addexes2/mkfilt.cxx
index 5acc06aca0eb..56e4a276b819 100644
--- a/tools/bootstrp/addexes2/mkfilt.cxx
+++ b/tools/bootstrp/addexes2/mkfilt.cxx
@@ -145,7 +145,6 @@ void MkFilter::Filter()
while(( fgets(aLineBuf, LINE_LEN, pIn)) != NULL )
{
ByteString aLine( aLineBuf );
- //fprintf(stderr, "aLine :%s\n", aLine.GetBuffer());
if ( aLine.Search("mkfilter1" ) != STRING_NOTFOUND )
{
// Zeilen unterdruecken
diff --git a/tools/bootstrp/command.cxx b/tools/bootstrp/command.cxx
index 73db0f359354..51fd7ea4e98a 100644
--- a/tools/bootstrp/command.cxx
+++ b/tools/bootstrp/command.cxx
@@ -54,8 +54,6 @@
#pragma warning (pop)
#endif
-//#define MH_TEST2 1 // fuers direkte Testen
-
#if defined(WNT) || defined(OS2)
#ifdef _MSC_VER
#pragma warning (push,1)
@@ -96,7 +94,6 @@ CommandLine::CommandLine(BOOL bWrite)
{
CommandBuffer = new char [1];
if (CommandBuffer == NULL) {
- //cout << "Error: nospace" << endl;
exit(0);
}
CommandBuffer[0] = '\0';
@@ -255,7 +252,6 @@ void CommandLine::BuildCommand(const char *CommandString)
/* get space for the new command line */
ppArgv = (char **) new char * [nArgc+1];
if (ppArgv == NULL) {
- //cout << "Error: no space" << endl;
exit(0);
}
diff --git a/tools/bootstrp/prj.cxx b/tools/bootstrp/prj.cxx
index ba4ec6b603d7..dabd11a9b243 100644
--- a/tools/bootstrp/prj.cxx
+++ b/tools/bootstrp/prj.cxx
@@ -38,8 +38,6 @@
#include "bootstrp/prj.hxx"
#include "bootstrp/inimgr.hxx"
-//#define TEST 1
-
#if defined(WNT) || defined(OS2)
#define LIST_DELIMETER ';'
#define PATH_DELIMETER '\\'
diff --git a/tools/bootstrp/rscdep.cxx b/tools/bootstrp/rscdep.cxx
index d35cc1885cc9..47e4450d9fe4 100644
--- a/tools/bootstrp/rscdep.cxx
+++ b/tools/bootstrp/rscdep.cxx
@@ -104,12 +104,10 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv )
if ( aBuf[0] == '-' && aBuf[1] == 'p' && aBuf[2] == '=' )
{
strcpy(pFileNamePrefix, &aBuf[3]);
- //break;
}
if ( aBuf[0] == '-' && aBuf[1] == 'f' && aBuf[2] == 'o' && aBuf[3] == '=' )
{
strcpy(pOutputFileName, &aBuf[4]);
- //break;
}
if ( aBuf[0] == '-' && aBuf[1] == 'f' && aBuf[2] == 'p' && aBuf[3] == '=' )
{
@@ -117,7 +115,6 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv )
String aName( pSrsFileName, gsl_getSystemTextEncoding());
DirEntry aDest( aName );
aSrsBaseName = aDest.GetBase();
- //break;
}
if (aBuf[0] == '-' && aBuf[1] == 'i' )
{
@@ -139,12 +136,10 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv )
if ( aBuf[0] == '-' && aBuf[1] == 'p' && aBuf[2] == '=' )
{
strcpy(pFileNamePrefix, &aBuf[3]);
- //break;
}
if ( aBuf2[0] == '-' && aBuf2[1] == 'f' && aBuf2[2] == 'o' )
{
strcpy(pOutputFileName, &aBuf2[3]);
- //break;
}
if ( aBuf2[0] == '-' && aBuf2[1] == 'f' && aBuf2[2] == 'p' )
{
@@ -152,7 +147,6 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv )
String aName( pSrsFileName, gsl_getSystemTextEncoding());
DirEntry aDest( aName );
aSrsBaseName = aDest.GetBase();
- //break;
}
if (aBuf2[0] == '-' && aBuf2[1] == 'i' )
{