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: ...@@ -446,15 +446,15 @@ private:
Separate( ); Separate( );
} }
void Append( const OUString &rText ) { void Append( const OUString &rText ) {
aCmdText.append( rText ); maCmdText.append( rText );
} }
/** Append a blank for separation, if needed */ /** Append a blank for separation, if needed */
inline void Separate( ){ inline void Separate( ){
if( aCmdText.isEmpty() || aCmdText[ aCmdText.getLength() - 1 ] != ' ' ) if( maCmdText.isEmpty() || maCmdText[ maCmdText.getLength() - 1 ] != ' ' )
aCmdText.append(' '); maCmdText.append(' ');
} }
/** Output text generated from the pNodes */ /** Output text generated from the pNodes */
OUStringBuffer aCmdText; OUStringBuffer maCmdText;
}; };
#endif // INCLUDED_STARMATH_INC_VISITORS_HXX #endif // INCLUDED_STARMATH_INC_VISITORS_HXX
......
...@@ -1918,7 +1918,7 @@ void SmSelectionDrawingVisitor::Visit( SmTextNode* pNode ) ...@@ -1918,7 +1918,7 @@ void SmSelectionDrawingVisitor::Visit( SmTextNode* pNode )
SmNodeToTextVisitor::SmNodeToTextVisitor( SmNode* pNode, OUString &rText ) SmNodeToTextVisitor::SmNodeToTextVisitor( SmNode* pNode, OUString &rText )
{ {
pNode->Accept( this ); pNode->Accept( this );
rText = aCmdText.makeStringAndClear(); rText = maCmdText.makeStringAndClear();
} }
void SmNodeToTextVisitor::Visit( SmTableNode* pNode ) 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