starmath: Prefix member of SmNodeToTextVisitor
Change-Id: I83f5c5664aca925f874be8ac939356228697d05f Reviewed-on: https://gerrit.libreoffice.org/33850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
This commit is contained in:
@@ -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 )
|
|||||||
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 )
|
||||||
|
Reference in New Issue
Block a user