summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-22 19:41:57 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-03-22 19:42:28 +0100
commitf25fcba2f2ef699e8366d3681ae6c636798569a8 (patch)
treea85b899c9d310004449dfff24b39585401acbed2 /idlc
parent9e2034c0330f969b6795dd9ec8771fdad34777a6 (diff)
coverity#440065 Logically dead code
Change-Id: I6b735ca48bd996c71ad6c6103e68af2cd2890d98
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astconstant.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/idlc/source/astconstant.cxx b/idlc/source/astconstant.cxx
index 2ba9d29a4e74..727a757bf90c 100644
--- a/idlc/source/astconstant.cxx
+++ b/idlc/source/astconstant.cxx
@@ -54,7 +54,6 @@ sal_Bool AstConstant::dumpBlob(
typereg::Writer & rBlob, sal_uInt16 index, bool published)
{
RTConstValue aConst;
- sal_Unicode* str = NULL;
AstExprValue *exprVal = getConstValue()->getExprValue();
switch (getConstValueType())
@@ -119,8 +118,6 @@ sal_Bool AstConstant::dumpBlob(
index, getDocumentation(), OUString(),
RT_ACCESS_CONST | (published ? RT_ACCESS_PUBLISHED : 0),
OStringToOUString(name, RTL_TEXTENCODING_UTF8), type, aConst);
- if (str)
- delete[] str;
return sal_True;
}