starmath/source/parse.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 899cbc29d9abbb7e48f352b01baa1652fb0dd91f Author: Takeshi Abe <t...@fixedpoint.jp> Date: Thu Sep 17 12:10:56 2015 +0900 Use member initialization lists for SmParser Change-Id: I421794df067314dbfc56f8651be6225bbb9683e2 Reviewed-on: https://gerrit.libreoffice.org/18659 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noelgran...@gmail.com> diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 90bc9a5..f11bbe1 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits