summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-04-21 17:31:18 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-04-22 01:37:09 +0000
commit11f13f55b7e76811946979f363638597d882b88b (patch)
tree5ca96735b10f69c7a1175035cd7a2d7e4e87611a /starmath
parentcd6ec105eb154b5f839b1ed27d30f3ee52ae0e6d (diff)
starmath: Drop member variable set but not used
Its usage was gone with 9adcd261054a0e99ae032be5e7428e28a6663975. Change-Id: Ibd322531365c2e0ccad85d553781611dfe96d54e Reviewed-on: https://gerrit.libreoffice.org/24277 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/parse.hxx5
-rw-r--r--starmath/source/parse.cxx3
2 files changed, 1 insertions, 7 deletions
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 7dbd3977fb5e..34194de3b55e 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -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(); }
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index b998f255bc10..955e3e112630 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -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();