sot/source/base/formats.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 4046a1dfc2ba5b52cab7083f4817351c647a59c3 Author: Julien Nabet <serval2...@yahoo.fr> Date: Sun Dec 11 13:45:53 2011 +0100 Remove ByteString diff --git a/sot/source/base/formats.cxx b/sot/source/base/formats.cxx index 2bfa066..1c5ec07 100644 --- a/sot/source/base/formats.cxx +++ b/sot/source/base/formats.cxx @@ -1325,8 +1325,7 @@ rEntry if( pFDesc->cItems ) { - ByteString sDesc( pFDesc->fgd[ 0 ].cFileName ); - bRet = 4 < sDesc.Len() && sDesc.Copy( sDesc.Len()-4 ).EqualsIgnoreCaseAscii( ".URL" ); + bRet = (4 < (pFDesc->fgd[ 0 ].cFileName.size())) && sDesc.Copy( sDesc.Len()-4 ).EqualsIgnoreCaseAscii( ".URL" ); } } } _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits