From 5ca4acf877834c51d896268cf3dd390903b2248b Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 23 Sep 2015 06:03:55 +0900 Subject: starmath: Prefix members of SmErrorDesc Change-Id: I4910561e3671f546f2e36344016e2b50fd2a70eb Reviewed-on: https://gerrit.libreoffice.org/18788 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- starmath/source/parse.cxx | 8 ++++---- starmath/source/view.cxx | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'starmath/source') diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index f11bbe1940f0..5fd8417942a8 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -2414,9 +2414,9 @@ size_t SmParser::AddError(SmParseError Type, SmNode *pNode) { SmErrorDesc *pErrDesc = new SmErrorDesc; - pErrDesc->Type = Type; - pErrDesc->pNode = pNode; - pErrDesc->Text = SM_RESSTR(RID_ERR_IDENT); + pErrDesc->m_eType = Type; + pErrDesc->m_pNode = pNode; + pErrDesc->m_aText = SM_RESSTR(RID_ERR_IDENT); sal_uInt16 nRID; switch (Type) @@ -2438,7 +2438,7 @@ size_t SmParser::AddError(SmParseError Type, SmNode *pNode) default: nRID = RID_ERR_UNKNOWN; } - pErrDesc->Text += SM_RESSTR(nRID); + pErrDesc->m_aText += SM_RESSTR(nRID); m_aErrDescList.push_back( pErrDesc ); diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index a84ea4fd1746..574755ba7d84 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1349,9 +1349,9 @@ void SmViewShell::ShowError(const SmErrorDesc* pErrorDesc) SAL_WARN_IF( !GetDoc(), "starmath", "Document missing" ); if (pErrorDesc || 0 != (pErrorDesc = GetDoc()->GetParser().GetError(0)) ) { - SetStatusText( pErrorDesc->Text ); - GetEditWindow()->MarkError( Point( pErrorDesc->pNode->GetColumn(), - pErrorDesc->pNode->GetRow())); + SetStatusText( pErrorDesc->m_aText ); + GetEditWindow()->MarkError( Point( pErrorDesc->m_pNode->GetColumn(), + pErrorDesc->m_pNode->GetRow())); } } -- cgit v1.2.3