summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-11 21:15:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-12 09:16:29 +0100
commit6974f514d3b8cf4b422a70f21fdb57d283ab3774 (patch)
treead892afc930eec95c70a6a315f368af3e50dcadc /rsc
parenta0864219a12fa09e46e4193003913ac2945fff76 (diff)
callcatcher: remove unused RscFileInst ByteString ctor
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscpar.hxx2
-rw-r--r--rsc/source/parser/rscpar.cxx17
2 files changed, 0 insertions, 19 deletions
diff --git a/rsc/inc/rscpar.hxx b/rsc/inc/rscpar.hxx
index 77b037d841f5..779f2572afb7 100644
--- a/rsc/inc/rscpar.hxx
+++ b/rsc/inc/rscpar.hxx
@@ -62,8 +62,6 @@ public:
void Init(); // ctor initialisieren
RscFileInst( RscTypCont * pTC, sal_uLong lIndexSrc,
sal_uLong lFileIndex, FILE * fFile );
- RscFileInst( RscTypCont * pTC, sal_uLong lIndexSrc,
- sal_uLong lFileIndex, const ByteString & );
~RscFileInst();
sal_Bool IsEof() const { return bEof; }
void SetFileIndex( sal_uLong lFIndex ) { lFileIndex = lFIndex; }
diff --git a/rsc/source/parser/rscpar.cxx b/rsc/source/parser/rscpar.cxx
index fc3c44c8754d..d3dc291c5631 100644
--- a/rsc/source/parser/rscpar.cxx
+++ b/rsc/source/parser/rscpar.cxx
@@ -72,23 +72,6 @@ RscFileInst::RscFileInst( RscTypCont * pTC, sal_uLong lIndexSrc,
pInput = (char *)rtl_allocateMemory( nInputBufLen );
}
-RscFileInst::RscFileInst( RscTypCont * pTC, sal_uLong lIndexSrc,
- sal_uLong lFIndex, const ByteString& rBuf )
-{
- pTypCont = pTC;
- Init();
- lFileIndex = lFIndex;
- lSrcIndex = lIndexSrc;
- fInputFile = NULL;
- nInputPos = 0;
- nInputEndPos = rBuf.Len();
-
- // Muss groesser sein wegen Eingabeende bei nInputBufLen < nInputEndPos
- nInputBufLen = nInputEndPos +1;
- pInput = (char *)rtl_allocateMemory( nInputBufLen +100 );
- memcpy( pInput, rBuf.GetBuffer(), nInputEndPos );
-}
-
/*************************************************************************
|*
|* RscFileInst::~RscFileInst()