summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-05 16:56:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-05 16:56:22 +0100
commit752ae1eb6ef90e53ec2fcc99b550181effa1de6c (patch)
tree737262afa0494461382eb5f978eff9dd9bdae939 /basic
parentad43b68a4d15879d74b597931c4f4edc7e08a353 (diff)
strange delete variant
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxdec.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx
index 45a7480f2a87..39a15b6efa09 100644
--- a/basic/source/sbx/sbxdec.cxx
+++ b/basic/source/sbx/sbxdec.cxx
@@ -239,7 +239,7 @@ bool SbxDecimal::setString( ::rtl::OUString* pOUString )
i++;
}
hResult = VarDecFromStr( (OLECHAR*)pBuffer, nLANGID, 0, &maDec );
- delete pBuffer[];
+ delete [] pBuffer;
}
else
{