diff options
-rw-r--r-- | basic/source/sbx/sbxvar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index 83538ac6c02f..36d459ad7fcf 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -408,7 +408,7 @@ void SbxVariable::SetParent( SbxObject* p ) { #ifdef DBG_UTIL // Will the parent of a SbxObject be set? - if ( p && 0 != dynamic_cast<const SbxObject*>( ) ) + if (p) { // then this had to be a child of the new parent bool bFound = false; |