sot/source/base/formats.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 60beba6a73c46d4564599467badd6136f9523434
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Sun Dec 11 22:30:46 2011 +0100

    Revert buggy 4046a1dfc2ba5b52cab7083f4817351c647a59c3

diff --git a/sot/source/base/formats.cxx b/sot/source/base/formats.cxx
index 1c5ec07..2bfa066 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" );
                                 }
                             }
                         }
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to