diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-12-11 22:30:46 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-12-11 22:31:40 +0100 |
commit | 60beba6a73c46d4564599467badd6136f9523434 (patch) | |
tree | caedecaba9a09a60c36e5381978498e7d254d875 /sot | |
parent | f129c4f766c30b174544ec234cbd72c7050a2fc1 (diff) |
Revert buggy 4046a1dfc2ba5b52cab7083f4817351c647a59c3
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/base/formats.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sot/source/base/formats.cxx b/sot/source/base/formats.cxx index 1c5ec071939c..2bfa0661f4bf 100644 --- a/sot/source/base/formats.cxx +++ b/sot/source/base/formats.cxx @@ -1325,7 +1325,8 @@ rEntry if( pFDesc->cItems ) { - bRet = (4 < (pFDesc->fgd[ 0 ].cFileName.size())) && sDesc.Copy( sDesc.Len()-4 ).EqualsIgnoreCaseAscii( ".URL" ); + ByteString sDesc( pFDesc->fgd[ 0 ].cFileName ); + bRet = 4 < sDesc.Len() && sDesc.Copy( sDesc.Len()-4 ).EqualsIgnoreCaseAscii( ".URL" ); } } } |