summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscpar.cxx
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2013-03-26 11:10:45 +0100
committerAndras Timar <atimar@suse.com>2013-03-27 09:33:00 +0100
commit73ff49f47dda14391f0c118f62002cb42680624e (patch)
tree361fb6fecc7ce1e3466036f967614cd5afe3122d /rsc/source/parser/rscpar.cxx
parent95c586d5c034115fd252c5fb0e4637bf9dc68a4d (diff)
remove unused functionality from Resource Compiler
and remove ASCII art comments and other useless comments Change-Id: Iafa5eb5aa421b38b325bdc7cea6045b43a5c582a
Diffstat (limited to 'rsc/source/parser/rscpar.cxx')
-rw-r--r--rsc/source/parser/rscpar.cxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/rsc/source/parser/rscpar.cxx b/rsc/source/parser/rscpar.cxx
index 069ba3d870d4..3c000be49754 100644
--- a/rsc/source/parser/rscpar.cxx
+++ b/rsc/source/parser/rscpar.cxx
@@ -17,19 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-/****************** I N C L U D E S **************************************/
-// C and C++ Includes.
#include <string.h>
#include <rscpar.hxx>
#include <rscdb.hxx>
-/****************** R s c F i l e I n s t ********************************/
-/****************** C O D E **********************************************/
-/*************************************************************************
-|*
-|* RscFileInst::Init()
-|*
-*************************************************************************/
void RscFileInst::Init()
{
nLineNo = 0;
@@ -41,11 +32,6 @@ void RscFileInst::Init()
bEof = sal_False;
};
-/*************************************************************************
-|*
-|* RscFileInst::RscFileInst()
-|*
-*************************************************************************/
RscFileInst::RscFileInst( RscTypCont * pTC, sal_uLong lIndexSrc,
sal_uLong lFIndex, FILE * fFile )
{
@@ -61,11 +47,6 @@ RscFileInst::RscFileInst( RscTypCont * pTC, sal_uLong lIndexSrc,
pInput = (char *)rtl_allocateMemory( nInputBufLen );
}
-/*************************************************************************
-|*
-|* RscFileInst::~RscFileInst()
-|*
-*************************************************************************/
RscFileInst::~RscFileInst(){
if( pInput )
rtl_freeMemory( pInput );
@@ -73,11 +54,6 @@ RscFileInst::~RscFileInst(){
rtl_freeMemory( pLine );
}
-/*************************************************************************
-|*
-|* RscFileInst::GetChar()
-|*
-*************************************************************************/
int RscFileInst::GetChar()
{
if( pLine[ nScanPos ] )
@@ -95,11 +71,6 @@ int RscFileInst::GetChar()
}
}
-/*************************************************************************
-|*
-|* RscFileInst::GetNewLine()
-|*
-*************************************************************************/
void RscFileInst::GetNewLine()
{
nLineNo++;
@@ -172,11 +143,6 @@ END:
}
}
-/*************************************************************************
-|*
-|* RscFileInst::SetError()
-|*
-*************************************************************************/
void RscFileInst::SetError( ERRTYPE aError )
{
if( aError.IsOk() )