diff options
author | Christina Rossmanith <ChrRossmanith@web.de> | 2011-03-22 12:23:36 +0100 |
---|---|---|
committer | Christina Rossmanith <ChrRossmanith@web.de> | 2011-03-22 12:23:57 +0100 |
commit | b67fe5cc0522926bf7782d22e6d50aa4769ecbf6 (patch) | |
tree | 71baa2060fdaab304aa03a0d152c9eb7996451a6 /basic | |
parent | 4b9842da835631b0109028cb3534546233cd7b8c (diff) |
Removed comments /commented code
Diffstat (limited to 'basic')
-rwxr-xr-x | basic/source/inc/runtime.hxx | 3 | ||||
-rwxr-xr-x | basic/source/runtime/iosys.cxx | 5 | ||||
-rwxr-xr-x | basic/source/runtime/methods.cxx | 28 | ||||
-rwxr-xr-x | basic/source/runtime/step0.cxx | 2 |
4 files changed, 15 insertions, 23 deletions
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx index e0c6baafd6c2..14ddeb6c7185 100755 --- a/basic/source/inc/runtime.hxx +++ b/basic/source/inc/runtime.hxx @@ -293,8 +293,7 @@ class SbiRuntime SbxArrayRef refParams; // aktuelle Prozedur-Parameter SbxArrayRef refLocals; // lokale Variable SbxArrayRef refArgv; // aktueller Argv - // AB, 28.3.2000 #74254, Ein refSaveObj reicht nicht! Neu: pRefSaveList (s.u.) - //SbxVariableRef refSaveObj; // #56368 Bei StepElem Referenz sichern + // #74254, Ein refSaveObj reicht nicht! Neu: pRefSaveList (s.u.) short nArgc; // aktueller Argc sal_Bool bRun; // sal_True: Programm ist aktiv sal_Bool bError; // sal_True: Fehler behandeln diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index 0f972f79ba2c..5d77a6139b9f 100755 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -42,7 +42,6 @@ #ifdef _USE_UNO -// <-- encoding #include <sal/alloca.h> #include <ctype.h> @@ -51,7 +50,7 @@ #include <rtl/ustrbuf.hxx> #include <rtl/textenc.h> #include <rtl/ustrbuf.hxx> -// encoding --> + #include <comphelper/processfactory.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -425,8 +424,6 @@ void OslStream::SetSize( sal_uIntPtr nSize ) maFile.setSize( (sal_uInt64)nSize ); } -//#endif - #ifdef _USE_UNO diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 09190568138e..8e17f516c521 100755 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -483,7 +483,7 @@ RTLFUNC(CurDir) #endif } -RTLFUNC(ChDir) // JSM +RTLFUNC(ChDir) { (void)pBasic; (void)bWrite; @@ -513,7 +513,7 @@ RTLFUNC(ChDir) // JSM StarBASIC::Error( SbERR_BAD_ARGUMENT ); } -RTLFUNC(ChDrive) // JSM +RTLFUNC(ChDrive) { (void)pBasic; (void)bWrite; @@ -589,7 +589,7 @@ void implStepRenameOSL( const String& aSource, const String& aDest ) } } -RTLFUNC(FileCopy) // JSM +RTLFUNC(FileCopy) { (void)pBasic; (void)bWrite; @@ -627,7 +627,7 @@ RTLFUNC(FileCopy) // JSM StarBASIC::Error( SbERR_BAD_ARGUMENT ); } -RTLFUNC(Kill) // JSM +RTLFUNC(Kill) { (void)pBasic; (void)bWrite; @@ -667,7 +667,7 @@ RTLFUNC(Kill) // JSM StarBASIC::Error( SbERR_BAD_ARGUMENT ); } -RTLFUNC(MkDir) // JSM +RTLFUNC(MkDir) { (void)pBasic; (void)bWrite; @@ -789,7 +789,7 @@ void implRemoveDirRecursive( const String& aDirPath ) } -RTLFUNC(RmDir) // JSM +RTLFUNC(RmDir) { (void)pBasic; (void)bWrite; @@ -840,7 +840,7 @@ RTLFUNC(RmDir) // JSM StarBASIC::Error( SbERR_BAD_ARGUMENT ); } -RTLFUNC(SendKeys) // JSM +RTLFUNC(SendKeys) { (void)pBasic; (void)bWrite; @@ -2005,8 +2005,7 @@ RTLFUNC(DateValue) else fResult = ceil( fResult ); } - // fResult += 2.0; // Anpassung StarCalcFormatter - rPar.Get(0)->PutDate( fResult ); // JSM + rPar.Get(0)->PutDate( fResult ); } else StarBASIC::Error( SbERR_CONVERSION ); @@ -2046,7 +2045,7 @@ RTLFUNC(TimeValue) if ( nType == NUMBERFORMAT_DATETIME ) // Tage abschneiden fResult = fmod( fResult, 1 ); - rPar.Get(0)->PutDate( fResult ); // JSM + rPar.Get(0)->PutDate( fResult ); } else StarBASIC::Error( SbERR_CONVERSION ); @@ -3071,13 +3070,12 @@ RTLFUNC(EOF) (void)pBasic; (void)bWrite; - // AB 08/16/2000: No changes for UCB + // No changes for UCB if ( rPar.Count() != 2 ) StarBASIC::Error( SbERR_BAD_ARGUMENT ); else { sal_Int16 nChannel = rPar.Get(1)->GetInteger(); - // nChannel--; // macht MD beim Oeffnen auch nicht SbiIoSystem* pIO = pINST->GetIoSystem(); SbiStream* pSbStrm = pIO->GetStream( nChannel ); if ( !pSbStrm ) @@ -3175,7 +3173,7 @@ RTLFUNC(Lof) (void)pBasic; (void)bWrite; - // AB 08/16/2000: No changes for UCB + // No changes for UCB if ( rPar.Count() != 2 ) StarBASIC::Error( SbERR_BAD_ARGUMENT ); else @@ -4323,7 +4321,7 @@ RTLFUNC(MsgBox) delete pBox; } -RTLFUNC(SetAttr) // JSM +RTLFUNC(SetAttr) { (void)pBasic; (void)bWrite; @@ -4357,7 +4355,7 @@ RTLFUNC(SetAttr) // JSM StarBASIC::Error( SbERR_BAD_ARGUMENT ); } -RTLFUNC(Reset) // JSM +RTLFUNC(Reset) { (void)pBasic; (void)bWrite; diff --git a/basic/source/runtime/step0.cxx b/basic/source/runtime/step0.cxx index 780e7bd42d1b..7743126835dc 100755 --- a/basic/source/runtime/step0.cxx +++ b/basic/source/runtime/step0.cxx @@ -689,7 +689,6 @@ void SbiRuntime::StepVBASET() } -// JSM 07.10.95 void SbiRuntime::StepLSET() { SbxVariableRef refVal = PopVar(); @@ -725,7 +724,6 @@ void SbiRuntime::StepLSET() } } -// JSM 07.10.95 void SbiRuntime::StepRSET() { SbxVariableRef refVal = PopVar(); |