starmath: Drop member variable set but not used
Its usage was gone with 9adcd26105
.
Change-Id: Ibd322531365c2e0ccad85d553781611dfe96d54e
Reviewed-on: https://gerrit.libreoffice.org/24277
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
This commit is contained in:
parent
cd6ec105eb
commit
11f13f55b7
2 changed files with 1 additions and 7 deletions
|
@ -19,7 +19,7 @@
|
|||
#ifndef INCLUDED_STARMATH_INC_PARSE_HXX
|
||||
#define INCLUDED_STARMATH_INC_PARSE_HXX
|
||||
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <com/sun/star/lang/Locale.hpp>
|
||||
#include <memory>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
@ -36,7 +36,6 @@ class SmParser
|
|||
SmNodeStack m_aNodeStack;
|
||||
std::vector<std::unique_ptr<SmErrorDesc>> m_aErrDescList;
|
||||
int m_nCurError;
|
||||
LanguageType m_nLang;
|
||||
sal_Int32 m_nBufferIndex,
|
||||
m_nTokenIndex;
|
||||
sal_Int32 m_Row,
|
||||
|
@ -91,8 +90,6 @@ class SmParser
|
|||
void DoGlyphSpecial();
|
||||
// end of grammar
|
||||
|
||||
void SetLanguage( LanguageType nNewLang ) { m_nLang = nNewLang; }
|
||||
|
||||
void Error(SmParseError Error);
|
||||
|
||||
void ClearUsedSymbols() { m_aUsedSymbols.clear(); }
|
||||
|
|
|
@ -2344,7 +2344,6 @@ void SmParser::Error(SmParseError eError)
|
|||
|
||||
SmParser::SmParser()
|
||||
: m_nCurError( 0 )
|
||||
, m_nLang( Application::GetSettings().GetUILanguageTag().getLanguageType() )
|
||||
, m_nBufferIndex( 0 )
|
||||
, m_nTokenIndex( 0 )
|
||||
, m_Row( 0 )
|
||||
|
@ -2370,7 +2369,6 @@ SmNode *SmParser::Parse(const OUString &rBuffer)
|
|||
|
||||
m_aNodeStack.clear();
|
||||
|
||||
SetLanguage( Application::GetSettings().GetUILanguageTag().getLanguageType() );
|
||||
NextToken();
|
||||
DoTable();
|
||||
|
||||
|
@ -2391,7 +2389,6 @@ SmNode *SmParser::ParseExpression(const OUString &rBuffer)
|
|||
|
||||
m_aNodeStack.clear();
|
||||
|
||||
SetLanguage( Application::GetSettings().GetUILanguageTag().getLanguageType() );
|
||||
NextToken();
|
||||
DoExpression();
|
||||
|
||||
|
|
Loading…
Reference in a new issue