diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-26 09:11:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-26 09:12:05 +0200 |
commit | 3d784c4af6e0fdde0b7e555ad940bc13a61c2a22 (patch) | |
tree | 58415192099a6e8c352f92ab55749244668f03bf /rsc/source | |
parent | d31844da975b75e0a45121f990dee9d7cde30b30 (diff) |
remove extra spaces around ::
just makes it harder to grep for methods
Change-Id: I0925db2f9284972fcf7e1e3adf90cbe21f69eb15
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/parser/rscdb.cxx | 14 | ||||
-rw-r--r-- | rsc/source/res/rscclobj.cxx | 2 | ||||
-rw-r--r-- | rsc/source/res/rscrange.cxx | 4 | ||||
-rw-r--r-- | rsc/source/res/rsctop.cxx | 6 | ||||
-rw-r--r-- | rsc/source/rsc/rsc.cxx | 4 | ||||
-rw-r--r-- | rsc/source/tools/rscdef.cxx | 16 | ||||
-rw-r--r-- | rsc/source/tools/rsctools.cxx | 20 |
7 files changed, 33 insertions, 33 deletions
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx index 627e54908956..883f0b1df72d 100644 --- a/rsc/source/parser/rscdb.cxx +++ b/rsc/source/parser/rscdb.cxx @@ -35,7 +35,7 @@ #include <rscrsc.hxx> -RscTypCont :: RscTypCont( RscError * pErrHdl, +RscTypCont::RscTypCont( RscError * pErrHdl, RSCBYTEORDER_TYPE nOrder, const OString& rSearchPath, sal_uInt32 nFlagsP ) @@ -166,7 +166,7 @@ void Pre_dtorTree( RscTop * pRscTop ) } } -RscTypCont :: ~RscTypCont() +RscTypCont::~RscTypCont() { // delete all subtrees aVersion.pClass->Destroy( aVersion ); @@ -254,7 +254,7 @@ RscTop * RscTypCont::SearchType( Atom nId ) return NULL; } -sal_uInt32 RscTypCont :: PutSysName( sal_uInt32 nRscTyp, char * pFileName, +sal_uInt32 RscTypCont::PutSysName( sal_uInt32 nRscTyp, char * pFileName, sal_uInt32 nConst, sal_uInt32 nId, bool bFirst ) { RscSysEntry *pSysEntry; @@ -297,7 +297,7 @@ sal_uInt32 RscTypCont :: PutSysName( sal_uInt32 nRscTyp, char * pFileName, return pSysEntry->nKey; } -void RscTypCont :: WriteInc( FILE * fOutput, sal_uLong lFileKey ) +void RscTypCont::WriteInc( FILE * fOutput, sal_uLong lFileKey ) { if( NOFILE_INDEX == lFileKey ) @@ -395,7 +395,7 @@ IMPL_LINK_TYPED( RscEnumerateObj, CallBackWriteSrc, const NameNode&, rNode, void } } -void RscEnumerateObj :: WriteRcFile( RscWriteRc & rMem, FILE * fOut ) +void RscEnumerateObj::WriteRcFile( RscWriteRc & rMem, FILE * fOut ) { // structure definition from which the resource is built /* @@ -504,7 +504,7 @@ ERRTYPE RscTypCont::WriteRc( WriteRcContext& rContext ) return aError; } -void RscTypCont :: WriteSrc( FILE * fOutput, sal_uLong nFileKey, +void RscTypCont::WriteSrc( FILE * fOutput, sal_uLong nFileKey, bool bName ) { RscEnumerateRef aEnumRef( this, pRoot, fOutput ); @@ -580,7 +580,7 @@ IMPL_LINK_TYPED( RscDel, Delete, const NameNode&, r, void ) pNode->pObjBiTree = pNode->GetObjNode()->DelObjNode( pNode, lFileKey ); } -void RscTypCont :: Delete( sal_uLong lFileKey ) +void RscTypCont::Delete( sal_uLong lFileKey ) { // delete resource instance RscDel aDel( pRoot, lFileKey ); diff --git a/rsc/source/res/rscclobj.cxx b/rsc/source/res/rscclobj.cxx index 96866dd4b819..8788ecba1659 100644 --- a/rsc/source/res/rscclobj.cxx +++ b/rsc/source/res/rscclobj.cxx @@ -50,7 +50,7 @@ bool RefNode::PutObjNode( ObjNode * pPutObject ) // if the node with the same name is in pObjBiTree, // return NULL and no insert, // if not return the pointer to the Object -ObjNode * RefNode :: GetObjNode( const RscId & rRscId ) +ObjNode * RefNode::GetObjNode( const RscId & rRscId ) { if( pObjBiTree ) return pObjBiTree->Search( rRscId ); diff --git a/rsc/source/res/rscrange.cxx b/rsc/source/res/rscrange.cxx index f83792a4939b..4164bfde30a7 100644 --- a/rsc/source/res/rscrange.cxx +++ b/rsc/source/res/rscrange.cxx @@ -308,7 +308,7 @@ RSCINST RscIdRange::Create( RSCINST * pInst, const RSCINST & rDflt, bool bOwnCla return aInst; } -void RscIdRange :: Destroy( const RSCINST & rInst ) +void RscIdRange::Destroy( const RSCINST & rInst ) { reinterpret_cast<RscId *>(rInst.pData)->Destroy(); } @@ -419,7 +419,7 @@ void RscBool::WriteSrc( const RSCINST & rInst, FILE * fOutput, fprintf( fOutput, "FALSE" ); } -RscBreakRange :: RscBreakRange( Atom nId, sal_uInt32 nTypeId ) +RscBreakRange::RscBreakRange( Atom nId, sal_uInt32 nTypeId ) : RscRange( nId, nTypeId ) { nOutRange = 0xFFFFFFFF; diff --git a/rsc/source/res/rsctop.cxx b/rsc/source/res/rsctop.cxx index 6038ab932a3b..1688e3951078 100644 --- a/rsc/source/res/rsctop.cxx +++ b/rsc/source/res/rsctop.cxx @@ -48,7 +48,7 @@ RSCINST RscTop::GetDefault() return aDfltInst; } -void RscTop :: Pre_dtor() +void RscTop::Pre_dtor() { if( aDfltInst.IsInst() ) { @@ -66,7 +66,7 @@ RscTop * RscTop::GetTypeClass() const return NULL; } -sal_uInt32 RscTop :: Size() +sal_uInt32 RscTop::Size() { if( pSuperClass ) return pSuperClass->Size(); @@ -74,7 +74,7 @@ sal_uInt32 RscTop :: Size() return 0; } -ERRTYPE RscTop :: GetRef( const RSCINST & rInst, RscId * pRscId ) +ERRTYPE RscTop::GetRef( const RSCINST & rInst, RscId * pRscId ) { if( pSuperClass ) return pSuperClass->GetRef( rInst, pRscId ); diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx index 01cd95ead9e2..c4409c4fb0f2 100644 --- a/rsc/source/rsc/rsc.cxx +++ b/rsc/source/rsc/rsc.cxx @@ -412,7 +412,7 @@ void RscCompiler::EndCompile() } } -ERRTYPE RscCompiler :: IncludeParser( sal_uLong lFileKey ) +ERRTYPE RscCompiler::IncludeParser( sal_uLong lFileKey ) { FILE * finput; RscFile * pFName; @@ -455,7 +455,7 @@ ERRTYPE RscCompiler :: IncludeParser( sal_uLong lFileKey ) return aError; } -ERRTYPE RscCompiler :: ParseOneFile( sal_uLong lFileKey, +ERRTYPE RscCompiler::ParseOneFile( sal_uLong lFileKey, const RscCmdLine::OutputFile* pOutputFile, const WriteRcContext* pContext ) { diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx index b0284ce49162..fc6a41ac47b3 100644 --- a/rsc/source/tools/rscdef.cxx +++ b/rsc/source/tools/rscdef.cxx @@ -370,7 +370,7 @@ OString RscExpression::GetMacro() return aLeft.makeStringAndClear(); } -RscFile :: RscFile() +RscFile::RscFile() { bLoaded = false; bIncFile = false; @@ -378,7 +378,7 @@ RscFile :: RscFile() bScanned = false; } -RscFile :: ~RscFile() +RscFile::~RscFile() { for ( size_t i = 0, n = aDepLst.size(); i < n; ++i ) delete aDepLst[ i ]; @@ -408,7 +408,7 @@ bool RscFile::Depend( sal_uLong lDepend, sal_uLong lFree ) return true; } -bool RscFile :: InsertDependFile( sal_uLong lIncFile, size_t lPos ) +bool RscFile::InsertDependFile( sal_uLong lIncFile, size_t lPos ) { for ( size_t i = 0, n = aDepLst.size(); i < n; ++i ) { @@ -489,7 +489,7 @@ RscFileTab::RscFileTab() { } -RscFileTab :: ~RscFileTab() +RscFileTab::~RscFileTab() { aDefTree.Remove(); @@ -502,7 +502,7 @@ RscFileTab :: ~RscFileTab() }; } -sal_uLong RscFileTab :: Find( const OString& rName ) +sal_uLong RscFileTab::Find( const OString& rName ) { sal_uIntPtr aIndex = FirstIndex(); while( aIndex != UNIQUEINDEX_ENTRY_NOTFOUND && (Get(aIndex)->aFileName != rName) ) @@ -635,7 +635,7 @@ RscDefine * RscFileTab::NewDef( sal_uLong lFileKey, const OString& rDefName, return pDef; } -void RscFileTab :: DeleteFileContext( sal_uLong lFileKey ) +void RscFileTab::DeleteFileContext( sal_uLong lFileKey ) { RscFile * pFName; @@ -652,7 +652,7 @@ void RscFileTab :: DeleteFileContext( sal_uLong lFileKey ) } } -sal_uLong RscFileTab :: NewCodeFile( const OString& rName ) +sal_uLong RscFileTab::NewCodeFile( const OString& rName ) { sal_uLong lKey = Find( rName ); if( UNIQUEINDEX_ENTRY_NOTFOUND == lKey ) @@ -666,7 +666,7 @@ sal_uLong RscFileTab :: NewCodeFile( const OString& rName ) return lKey; } -sal_uLong RscFileTab :: NewIncFile(const OString& rName, +sal_uLong RscFileTab::NewIncFile(const OString& rName, const OString& rPath) { sal_uLong lKey = Find( rName ); diff --git a/rsc/source/tools/rsctools.cxx b/rsc/source/tools/rsctools.cxx index 51ce98ce5314..175ec0f8d357 100644 --- a/rsc/source/tools/rsctools.cxx +++ b/rsc/source/tools/rsctools.cxx @@ -153,18 +153,18 @@ char * ResponseFile( RscPtrPtr * ppCmd, char ** ppArgv, sal_uInt32 nArgc ) } -RscPtrPtr :: RscPtrPtr() +RscPtrPtr::RscPtrPtr() { nCount = 0; pMem = NULL; } -RscPtrPtr :: ~RscPtrPtr() +RscPtrPtr::~RscPtrPtr() { Reset(); } -void RscPtrPtr :: Reset() +void RscPtrPtr::Reset() { sal_uInt32 i; @@ -181,7 +181,7 @@ void RscPtrPtr :: Reset() pMem = NULL; } -sal_uInt32 RscPtrPtr :: Append( void * pBuffer ) +sal_uInt32 RscPtrPtr::Append( void * pBuffer ) { if( !pMem ) pMem = static_cast<void **>(rtl_allocateMemory( (nCount +1) * sizeof( void * ) )); @@ -193,7 +193,7 @@ sal_uInt32 RscPtrPtr :: Append( void * pBuffer ) return nCount++; } -void * RscPtrPtr :: GetEntry( sal_uInt32 nEntry ) +void * RscPtrPtr::GetEntry( sal_uInt32 nEntry ) { if( nEntry < nCount ) return pMem[ nEntry ]; @@ -218,13 +218,13 @@ RscWriteRc::RscWriteRc( RSCBYTEORDER_TYPE nOrder ) pMem = NULL; } -RscWriteRc :: ~RscWriteRc() +RscWriteRc::~RscWriteRc() { if( pMem ) rtl_freeMemory( pMem ); } -sal_uInt32 RscWriteRc :: IncSize( sal_uInt32 nSize ) +sal_uInt32 RscWriteRc::IncSize( sal_uInt32 nSize ) { sal_uInt32 nOrigPos = nLen; nLen += nSize; @@ -235,7 +235,7 @@ sal_uInt32 RscWriteRc :: IncSize( sal_uInt32 nSize ) return nOrigPos; } -char * RscWriteRc :: GetPointer( sal_uInt32 nSize ) +char * RscWriteRc::GetPointer( sal_uInt32 nSize ) { if( !pMem ) { @@ -246,7 +246,7 @@ char * RscWriteRc :: GetPointer( sal_uInt32 nSize ) } -void RscWriteRc :: Put( sal_uInt16 nVal ) +void RscWriteRc::Put( sal_uInt16 nVal ) { sal_uInt32 nOldLen; @@ -254,7 +254,7 @@ void RscWriteRc :: Put( sal_uInt16 nVal ) PutAt( nOldLen, nVal ); } -void RscWriteRc :: PutUTF8( char * pStr ) +void RscWriteRc::PutUTF8( char * pStr ) { sal_uInt32 nStrLen = 0; if( pStr ) |