diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/image.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/basic/source/classes/image.cxx b/basic/source/classes/image.cxx index cdc2239901c2..6ff0b9203b78 100644 --- a/basic/source/classes/image.cxx +++ b/basic/source/classes/image.cxx @@ -415,10 +415,6 @@ void SbiImage::AddString( const OUString& r ) { sal_uInt32 nNewLen = needed + 1024; nNewLen &= 0xFFFFFC00; // trim to 1K border - if( nNewLen > 0xFFFFFF00L ) - { - nNewLen = 0xFFFFFF00L; - } sal_Unicode* p = NULL; if( (p = new sal_Unicode[ nNewLen ]) != NULL ) { |