summaryrefslogtreecommitdiff
path: root/starmath/source/visitors.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/visitors.cxx')
-rw-r--r--starmath/source/visitors.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index e929837bf9ba..40e36671e244 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -1636,8 +1636,8 @@ void SmCloningVisitor::CloneKids( SmStructureNode* pSource, SmStructureNode* pTa
SmNodeArray aNodes( nSize );
//Clone children
- SmNode* pKid;
for( sal_uInt16 i = 0; i < nSize; i++ ){
+ SmNode* pKid;
if( NULL != ( pKid = pSource->GetSubNode( i ) ) )
pKid->Accept( this );
else