diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/image.cxx | 1 | ||||
-rw-r--r-- | basic/source/comp/parser.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/basic/source/classes/image.cxx b/basic/source/classes/image.cxx index ec4901a549ff..038179334595 100644 --- a/basic/source/classes/image.cxx +++ b/basic/source/classes/image.cxx @@ -661,7 +661,6 @@ OUString SbiImage::GetString( short nId ) const sal_uInt32 nLen = nNextOff - nOff - 1; if( nLen == 1 ) { - // Force length 1 and make char 0 afterwards OUString aNullCharStr( u'\0'); return aNullCharStr; } diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx index d26f4de63fc7..72dc9217f6fc 100644 --- a/basic/source/comp/parser.cxx +++ b/basic/source/comp/parser.cxx @@ -857,7 +857,6 @@ void SbiParser::AddConstants() addStringConst( aPublics, "vbTab", "\x09" ); addStringConst( aPublics, "vbVerticalTab", "\x0B" ); - // Force length 1 and make char 0 afterwards OUString aNullCharStr(u'\0'); addStringConst( aPublics, "vbNullChar", aNullCharStr ); } |