diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-21 22:54:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-23 11:37:04 +0000 |
commit | cce3e85e0d32a2e66d1c82e0eb072debad1600c5 (patch) | |
tree | 02da1df50994b0a4f6888218ac10dad97812bc04 /sot/source/base | |
parent | f908fc4ca5bb7ae6d779df4239510fb0a0b84635 (diff) |
ByteString->rtl::OString
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")); } } } |