summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--idlc/source/astexpression.cxx4
-rw-r--r--idlc/source/idlccompile.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index aab83ba58948..4ed35a8ef1f4 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -1169,9 +1169,9 @@ OString AstExpression::toString()
return OString::number(m_exprValue->u.byval);
case ET_boolean:
if ( m_exprValue->u.lval == 0)
- return OString("FALSE");
+ return "FALSE";
else
- return OString("TRUE");
+ return "TRUE";
default:
OSL_ASSERT(false);
return OString();
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx
index 62fab8e1d692..56dbfe4e77ec 100644
--- a/idlc/source/idlccompile.cxx
+++ b/idlc/source/idlccompile.cxx
@@ -161,7 +161,7 @@ static OString makeTempName(const OString& prefix)
#endif
#endif
- return OString(tmpFilePattern);
+ return tmpFilePattern;
}
bool copyFile(const OString* source, const OString& target)