Kaydet (Commit) c0d3916c authored tarafından Takeshi Abe's avatar Takeshi Abe

starmath: Prefix member of SmNodeToTextVisitor

Change-Id: I83f5c5664aca925f874be8ac939356228697d05f
Reviewed-on: https://gerrit.libreoffice.org/33850Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTakeshi Abe <tabe@fixedpoint.jp>
üst 789ed159
......@@ -446,15 +446,15 @@ private:
Separate( );
}
void Append( const OUString &rText ) {
aCmdText.append( rText );
maCmdText.append( rText );
}
/** Append a blank for separation, if needed */
inline void Separate( ){
if( aCmdText.isEmpty() || aCmdText[ aCmdText.getLength() - 1 ] != ' ' )
aCmdText.append(' ');
if( maCmdText.isEmpty() || maCmdText[ maCmdText.getLength() - 1 ] != ' ' )
maCmdText.append(' ');
}
/** Output text generated from the pNodes */
OUStringBuffer aCmdText;
OUStringBuffer maCmdText;
};
#endif // INCLUDED_STARMATH_INC_VISITORS_HXX
......
......@@ -1918,7 +1918,7 @@ void SmSelectionDrawingVisitor::Visit( SmTextNode* pNode )
SmNodeToTextVisitor::SmNodeToTextVisitor( SmNode* pNode, OUString &rText )
{
pNode->Accept( this );
rText = aCmdText.makeStringAndClear();
rText = maCmdText.makeStringAndClear();
}
void SmNodeToTextVisitor::Visit( SmTableNode* pNode )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment