diff options
Diffstat (limited to 'sot/source/base')
-rw-r--r-- | sot/source/base/formats.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/base/formats.cxx b/sot/source/base/formats.cxx index 5f20b4108a89..efb34c5428c9 100644 --- a/sot/source/base/formats.cxx +++ b/sot/source/base/formats.cxx @@ -1320,8 +1320,8 @@ static sal_Bool CheckTransferableContext_Impl( const Reference< XTransferable >* if( pFDesc->cItems ) { - ByteString sDesc( pFDesc->fgd[ 0 ].cFileName ); - bRet = 4 < sDesc.Len() && sDesc.Copy( sDesc.Len()-4 ).EqualsIgnoreCaseAscii( ".URL" ); + rtl::OString sDesc( pFDesc->fgd[ 0 ].cFileName ); + bRet = 4 < sDesc.getLength() && sDesc.copy(sDesc.getLength()-4).equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM(".URL")); } } } |