[Libreoffice-commits] core.git: starmath/inc starmath/source

Takeshi Abe tabe at fixedpoint.jp
Fri Feb 3 04:35:35 UTC 2017


 starmath/inc/visitors.hxx    |    8 ++++----
 starmath/source/visitors.cxx |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit c0d3916cb7777918dbca359e88fb69f92ebf93ff
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Fri Feb 3 06:49:01 2017 +0900

    starmath: Prefix member of SmNodeToTextVisitor
    
    Change-Id: I83f5c5664aca925f874be8ac939356228697d05f
    Reviewed-on: https://gerrit.libreoffice.org/33850
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>

diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx
index 622a74e..1ac1db1 100644
--- a/starmath/inc/visitors.hxx
+++ b/starmath/inc/visitors.hxx
@@ -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
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index e6d3935..1d25407 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -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 )


More information about the Libreoffice-commits mailing list