diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-04 09:45:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-05 09:17:49 +0200 |
commit | ca0e8696ea0cd038d55d8101ff6f7303bb67a07e (patch) | |
tree | 5f9be0ff074e3e38da8c4a397585072db9f6714c /starmath/source/parse.cxx | |
parent | 0654c95af100989c64b530daf852e089f7c2bda3 (diff) |
remove unused code SmParser::Insert(rtl::OUString const&, int)
Change-Id: Id14c393700135b511e520f75d19561667a7f5a51
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r-- | starmath/source/parse.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index e1b9f6733d7c..d4c94f48db8f 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -353,16 +353,6 @@ bool SmParser::IsDelimiter( const OUString &rTxt, sal_Int32 nPos ) #endif -void SmParser::Insert(const OUString &rText, sal_Int32 nPos) -{ - m_aBufferString = m_aBufferString.replaceAt(nPos, 0, rText); - - sal_Int32 nLen = rText.getLength(); - m_nBufferIndex = m_nBufferIndex + nLen; - m_nTokenIndex = m_nTokenIndex + nLen; -} - - void SmParser::Replace( sal_Int32 nPos, sal_Int32 nLen, const OUString &rText ) { OSL_ENSURE( nPos + nLen <= m_aBufferString.getLength(), "argument mismatch" ); |