diff options
-rw-r--r-- | starmath/inc/parse.hxx | 1 | ||||
-rw-r--r-- | starmath/source/parse.cxx | 10 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 12 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index f348c8ef5261..41071f26759c 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -199,7 +199,6 @@ protected: #endif void NextToken(); sal_Int32 GetTokenIndex() const { return m_nTokenIndex; } - void Insert(const OUString &rText, sal_Int32 nPos); void Replace( sal_Int32 nPos, sal_Int32 nLen, const OUString &rText ); inline bool TokenInGroup( sal_uLong nGroup ); 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" ); diff --git a/unusedcode.easy b/unusedcode.easy index 5262ce086797..907362d5d185 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -47,7 +47,6 @@ SfxInt64Item::SetValue(long) SfxItemPool::GetMasterPool() const SimpleErrorHandler::SimpleErrorHandler() SmFontPickList::Contains(Font const&) const -SmParser::Insert(rtl::OUString const&, int) StyleSettings::SetActiveColor2(Color const&) StyleSettings::SetCursorSize(long) StyleSettings::SetDeactiveColor2(Color const&) |