summaryrefslogtreecommitdiff
path: root/basic/source/comp/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/comp/parser.cxx')
-rw-r--r--basic/source/comp/parser.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx
index 0347e0eccd62..d4a33465c122 100644
--- a/basic/source/comp/parser.cxx
+++ b/basic/source/comp/parser.cxx
@@ -590,8 +590,7 @@ void SbiParser::Set()
if( eTok == NEW )
{
Next();
- OUString aStr;
- SbiSymDef* pTypeDef = new SbiSymDef( aStr );
+ SbiSymDef* pTypeDef = new SbiSymDef( OUString() );
TypeDecl( *pTypeDef, true );
aLvalue.Gen();