diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-09-29 14:56:24 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-29 14:57:39 +0200 |
commit | d70302ef5c18207a78f6c81aed85c12260f73820 (patch) | |
tree | c700d5c93fcfa34560c853f7bee70704bb31b249 /basic | |
parent | fix dbgutil build (diff) | |
download | core-d70302ef5c18207a78f6c81aed85c12260f73820.tar.gz core-d70302ef5c18207a78f6c81aed85c12260f73820.zip |
basic: more plausible build fix than e5a8eb9e
Change-Id: I26fd8a76a17386de73fa12058509ccee7e768512
Diffstat (limited to 'basic')
-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 36d459ad7fcf..e551af2179c9 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) + if (p && dynamic_cast<SbxObject*>(this)) { // then this had to be a child of the new parent bool bFound = false; |