[Libreoffice-commits] .: 2 commits - tools/bootstrp
Takeshi Abe
tabe at kemper.freedesktop.org
Wed Feb 16 14:34:19 PST 2011
tools/bootstrp/addexes2/mkfilt.cxx | 1 -
tools/bootstrp/command.cxx | 4 ----
tools/bootstrp/mkcreate.cxx | 2 +-
tools/bootstrp/prj.cxx | 2 --
tools/bootstrp/rscdep.cxx | 6 ------
5 files changed, 1 insertion(+), 14 deletions(-)
New commits:
commit 5931c0debcf4e60c06c9b5595c18fefa9c0ddbc1
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu Feb 17 07:32:55 2011 +0900
Fixed typo
diff --git a/tools/bootstrp/mkcreate.cxx b/tools/bootstrp/mkcreate.cxx
index 001e7b4..987761a 100644
--- a/tools/bootstrp/mkcreate.cxx
+++ b/tools/bootstrp/mkcreate.cxx
@@ -628,7 +628,7 @@ BOOL SourceDirectory::CreateRecursiveMakefile( BOOL bAllChilds )
String aTmpStr( GetFullPath(), gsl_getSystemTextEncoding());
DirEntry aEntry( aTmpStr );
if ( !aEntry.Exists()) {
- fprintf( stdout, " ... no directory!n" );
+ fprintf( stdout, " ... no directory!\n" );
return FALSE;
}
commit db3e3b380f7ae79188ed9affa1ac5a5a28892184
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu Feb 17 07:32:12 2011 +0900
Removed dead code
diff --git a/tools/bootstrp/addexes2/mkfilt.cxx b/tools/bootstrp/addexes2/mkfilt.cxx
index 36b3140..77429b2 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 4c3b8ae..0b6b45a 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 faa123f..34fd497 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 8363875..92dbb36 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' )
{
More information about the Libreoffice-commits
mailing list