diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-09-17 12:10:56 +0900 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-17 07:54:41 +0000 |
commit | 899cbc29d9abbb7e48f352b01baa1652fb0dd91f (patch) | |
tree | f6a82bfbdd40e76183190484d3d4804873cf6996 /starmath | |
parent | 0c1a37b38d782ed13a16c449226228035bebc2a8 (diff) |
Use member initialization lists for SmParser
Change-Id: I421794df067314dbfc56f8651be6225bbb9683e2
Reviewed-on: https://gerrit.libreoffice.org/18659
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/parse.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 90bc9a540321..f11bbe1940f0 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -2354,14 +2354,15 @@ 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 ) , m_nColOff( 0 ) + , bImportSymNames( false ) + , m_bExportSymNames( false ) , m_aDotLoc( LanguageTag::convertToLocale( LANGUAGE_ENGLISH_US ) ) { - bImportSymNames = m_bExportSymNames = false; - m_nLang = Application::GetSettings().GetUILanguageTag().getLanguageType(); } SmNode *SmParser::Parse(const OUString &rBuffer) |