[Libreoffice-commits] core.git: starmath/inc starmath/source
Takeshi Abe
tabe at fixedpoint.jp
Fri Aug 26 00:57:19 UTC 2016
starmath/inc/visitors.hxx | 2 +-
starmath/source/visitors.cxx | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
New commits:
commit ea9a90d83d92076d41abfd31a1fd3a5d84b6ba92
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Fri Aug 26 00:52:56 2016 +0900
SmDrawingVisitor does nothing for SmBlankNode
Change-Id: Iea9139617d0a572f2577f31928d1a1e603b90ed6
Reviewed-on: https://gerrit.libreoffice.org/28392
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 ee9732c..f19d6ae 100644
--- a/starmath/inc/visitors.hxx
+++ b/starmath/inc/visitors.hxx
@@ -209,7 +209,7 @@ private:
/** Draw the children of a pNode
* This the default method, use by most pNodes
*/
- void DrawChildren( SmNode* pNode );
+ void DrawChildren( SmStructureNode* pNode );
/** Draw an SmTextNode or a subclass of this */
void DrawTextNode( SmTextNode* pNode );
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index e3f9c0b..92e90c9 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -369,9 +369,8 @@ void SmDrawingVisitor::Visit( SmMathSymbolNode* pNode )
DrawSpecialNode( pNode );
}
-void SmDrawingVisitor::Visit( SmBlankNode* pNode )
+void SmDrawingVisitor::Visit( SmBlankNode* )
{
- DrawChildren( pNode );
}
void SmDrawingVisitor::Visit( SmErrorNode* pNode )
@@ -531,7 +530,7 @@ void SmDrawingVisitor::DrawSpecialNode( SmSpecialNode* pNode )
DrawTextNode( pNode );
}
-void SmDrawingVisitor::DrawChildren( SmNode* pNode )
+void SmDrawingVisitor::DrawChildren( SmStructureNode* pNode )
{
if ( pNode->IsPhantom( ) )
return;
More information about the Libreoffice-commits
mailing list