From 6978f506a439cc8bf30393568ba496c266eafdb2 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 19 Sep 2017 14:05:29 +0300 Subject: Bin some noise comments and ASCII graphics Change-Id: Ib0e786b0e8401da3e3c93bf254727411774e8f43 --- basic/source/classes/image.cxx | 25 ------------------------- basic/source/classes/sb.cxx | 18 ------------------ basic/source/comp/exprtree.cxx | 18 ------------------ basic/source/comp/symtbl.cxx | 18 ------------------ basic/source/runtime/inputbox.cxx | 4 ---- basic/source/runtime/iosys.cxx | 7 ------- basic/source/sbx/sbxscan.cxx | 4 ++-- 7 files changed, 2 insertions(+), 92 deletions(-) (limited to 'basic') diff --git a/basic/source/classes/image.cxx b/basic/source/classes/image.cxx index 7363fd5ad24f..d29cefc78beb 100644 --- a/basic/source/classes/image.cxx +++ b/basic/source/classes/image.cxx @@ -71,12 +71,6 @@ void SbiImage::Clear() bError = false; } -/************************************************************************** -* -* Service-Routines for Load/Store -* -**************************************************************************/ - bool SbiGood( SvStream const & r ) { return !r.IsEof() && r.GetError() == ERRCODE_NONE; @@ -100,12 +94,6 @@ void SbiCloseRecord( SvStream& r, sal_uInt64 nOff ) r.Seek( nPos ); } -/************************************************************************** -* -* Load/Store -* -**************************************************************************/ - bool SbiImage::Load( SvStream& r, sal_uInt32& nVersion ) { @@ -548,12 +536,6 @@ bool SbiImage::Save( SvStream& r, sal_uInt32 nVer ) return !bError; } -/************************************************************************** -* -* Routines called by the compiler -* -**************************************************************************/ - void SbiImage::MakeStrings( short nSize ) { nStrings = 0; @@ -637,13 +619,6 @@ void SbiImage::AddEnum(SbxObject* pObject) // Register enum type rEnums->Insert( pObject, rEnums->Count() ); } - -/************************************************************************** -* -* Accessing the image -* -**************************************************************************/ - // Note: IDs start with 1 OUString SbiImage::GetString( short nId ) const { diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 1614c12bda53..fcf8628f6eb9 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1024,12 +1024,6 @@ void StarBASIC::implClearDependingVarsOnDelete( StarBASIC* pDeletedBasic ) } -/************************************************************************** -* -* Creation/Management of modules -* -**************************************************************************/ - SbModule* StarBASIC::MakeModule( const OUString& rName, const OUString& rSrc ) { ModuleInfo aInfo; @@ -1392,12 +1386,6 @@ bool StarBASIC::IsRunning() return GetSbData()->pInst != nullptr; } -/************************************************************************** -* -* Debugging and error handling -* -**************************************************************************/ - SbMethod* StarBASIC::GetActiveMethod( sal_uInt16 nLevel ) { if( GetSbData()->pInst ) @@ -1801,12 +1789,6 @@ SbxArrayRef const & StarBASIC::getUnoListeners() } -/************************************************************************** -* -* load and save -* -**************************************************************************/ - bool StarBASIC::LoadData( SvStream& r, sal_uInt16 nVer ) { if( !SbxObject::LoadData( r, nVer ) ) diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx index 085476bb794a..2643ffb5a856 100644 --- a/basic/source/comp/exprtree.cxx +++ b/basic/source/comp/exprtree.cxx @@ -24,12 +24,6 @@ #include "expr.hxx" #include -/*************************************************************************** -|* -|* SbiExpression -|* -***************************************************************************/ - SbiExpression::SbiExpression( SbiParser* p, SbiExprType t, SbiExprMode eMode, const KeywordSymbolInfo* pKeywordSymbolInfo ) { @@ -811,12 +805,6 @@ SbiExprNode* SbiExpression::Boolean() return pNd; } -/*************************************************************************** -|* -|* SbiConstExpression -|* -***************************************************************************/ - SbiConstExpression::SbiConstExpression( SbiParser* p ) : SbiExpression( p ) { if( pExpr->IsConstant() ) @@ -905,12 +893,6 @@ short SbiConstExpression::GetShortValue() } -/*************************************************************************** -|* -|* SbiExprList -|* -***************************************************************************/ - SbiExprList::SbiExprList( ) { nDim = 0; diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx index 81824a426e68..44684349b4e2 100644 --- a/basic/source/comp/symtbl.cxx +++ b/basic/source/comp/symtbl.cxx @@ -34,12 +34,6 @@ // The local stringpool holds all the symbols that don't move to the image // (labels, constant names etc.). -/*************************************************************************** -|* -|* SbiStringPool -|* -***************************************************************************/ - SbiStringPool::SbiStringPool( ) {} @@ -82,12 +76,6 @@ short SbiStringPool::Add( double n, SbxDataType t ) return Add( OUString::createFromAscii( buf ) ); } -/*************************************************************************** -|* -|* SbiSymPool -|* -***************************************************************************/ - SbiSymPool::SbiSymPool( SbiStringPool& r, SbiSymScope s, SbiParser* pP ) : rStrings( r ), pParser( pP ) { eScope = s; @@ -256,12 +244,6 @@ void SbiSymPool::CheckRefs() } } -/*************************************************************************** -|* -|* symbol definitions -|* -***************************************************************************/ - SbiSymDef::SbiSymDef( const OUString& rName ) : aName( rName ) { eType = SbxEMPTY; diff --git a/basic/source/runtime/inputbox.cxx b/basic/source/runtime/inputbox.cxx index 8f7fbb128eb5..b24ecee56392 100644 --- a/basic/source/runtime/inputbox.cxx +++ b/basic/source/runtime/inputbox.cxx @@ -142,9 +142,6 @@ IMPL_LINK_NOARG( SvRTLInputBox, CancelHdl, Button *, void ) } -// ********************************************************************* -// ********************************************************************* - // Syntax: String InputBox( Prompt, [Title], [Default] [, nXpos, nYpos ] ) void SbRtl_InputBox(StarBASIC *, SbxArray & rPar, bool) @@ -179,5 +176,4 @@ void SbRtl_InputBox(StarBASIC *, SbxArray & rPar, bool) } } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index ee131487bd5a..0fd1bb6d49bf 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -816,13 +816,6 @@ void SbiIoSystem::CloseAll() } } -/*************************************************************************** -* -* Console Support -* -***************************************************************************/ - - void SbiIoSystem::ReadCon(OString& rIn) { OUString aPromptStr(OStringToOUString(aPrompt, osl_getThreadTextEncoding())); diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx index 2e2cb082ac57..a2231f997610 100644 --- a/basic/source/sbx/sbxscan.cxx +++ b/basic/source/sbx/sbxscan.cxx @@ -295,7 +295,7 @@ static const double roundArray[] = { 5.0e+0, 0.5e+0, 0.5e-1, 0.5e-2, 0.5e-3, 0.5e-4, 0.5e-5, 0.5e-6, 0.5e-7, 0.5e-8, 0.5e-9, 0.5e-10,0.5e-11,0.5e-12,0.5e-13,0.5e-14,0.5e-15 }; -/*************************************************************************** +/* |* |* void myftoa( double, char *, short, short, bool, bool ) |* @@ -307,7 +307,7 @@ static const double roundArray[] = { |* bool true: with 1000-separators |* bool true: output without formatting |* -***************************************************************************/ + */ static void myftoa( double nNum, char * pBuf, short nPrec, short nExpWidth, bool bPt, bool bFix, sal_Unicode cForceThousandSep ) -- cgit