summaryrefslogtreecommitdiff
path: root/sot/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-12-11 13:45:53 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-12-11 13:45:53 +0100
commit4046a1dfc2ba5b52cab7083f4817351c647a59c3 (patch)
treead9631361cba45f5dc1b6bb4622753c120023a1c /sot/source
parent456df3133a0dd9664ddb8022b3279180900eff46 (diff)
Remove ByteString
Diffstat (limited to 'sot/source')
-rw-r--r--sot/source/base/formats.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sot/source/base/formats.cxx b/sot/source/base/formats.cxx
index 2bfa0661f4bf..1c5ec071939c 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" );
}
}
}