summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxform.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx
index 3a3d5bfe73db..e2891085ad6c 100644
--- a/basic/source/sbx/sbxform.cxx
+++ b/basic/source/sbx/sbxform.cxx
@@ -960,9 +960,7 @@ OUString SbxBasicFormater::BasicFormatNull( OUString sFormatStrg )
{
return sNullFormatStrg;
}
- OUString aRetStr;
- aRetStr = OUString::createFromAscii( "null" );
- return aRetStr;
+ return OUString("null");
}
OUString SbxBasicFormater::BasicFormat( double dNumber, OUString sFormatStrg )