basic/source/classes/image.cxx | 4 ---- 1 file changed, 4 deletions(-)
New commits: commit 8abb2f4d57b54c42429e64302dd716bdc2b73d79 Author: Norbert Thiebaud <[email protected]> Date: Mon Feb 18 11:51:38 2013 -0600 coverity#982288 Logically dead code Change-Id: I4fb90cb00829bc4be7d050521215528de4748d76 Reviewed-on: https://gerrit.libreoffice.org/2245 Reviewed-by: Norbert Thiebaud <[email protected]> Tested-by: Norbert Thiebaud <[email protected]> diff --git a/basic/source/classes/image.cxx b/basic/source/classes/image.cxx index cdc2239..6ff0b92 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 ) { _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
