[Libreoffice-commits] core.git: starmath/inc starmath/source
Takeshi Abe
tabe at fixedpoint.jp
Fri Apr 22 01:37:36 UTC 2016
starmath/inc/parse.hxx | 5 +----
starmath/source/parse.cxx | 3 ---
2 files changed, 1 insertion(+), 7 deletions(-)
New commits:
commit 11f13f55b7e76811946979f363638597d882b88b
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu Apr 21 17:31:18 2016 +0900
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 at libreoffice.org>
Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 7dbd397..34194de 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 b998f25..955e3e1 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();
More information about the Libreoffice-commits
mailing list