diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index dba938e96eec..05e8773aab9f 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -164,8 +164,7 @@ void SbxValue::Clear() } break; case SbxDECIMAL: - if( aData.eType == SbxDECIMAL ) - releaseDecimalPtr( aData.pDecimal ); + releaseDecimalPtr( aData.pDecimal ); break; case SbxDATAOBJECT: aData.pData = nullptr; break; |