diff options
-rw-r--r-- | dtrans/source/win32/dtobj/DOTransferable.cxx | 8 | ||||
-rw-r--r-- | dtrans/source/win32/dtobj/DataFmtTransl.cxx | 6 | ||||
-rw-r--r-- | dtrans/source/win32/ftransl/ftransl.cxx | 14 |
3 files changed, 14 insertions, 14 deletions
diff --git a/dtrans/source/win32/dtobj/DOTransferable.cxx b/dtrans/source/win32/dtobj/DOTransferable.cxx index fbc01e4aef67..04713e415fa3 100644 --- a/dtrans/source/win32/dtobj/DOTransferable.cxx +++ b/dtrans/source/win32/dtobj/DOTransferable.cxx @@ -2,9 +2,9 @@ * * $RCSfile: DOTransferable.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: tra $ $Date: 2001-04-04 14:10:12 $ + * last change: $Author: tra $ $Date: 2001-05-15 12:36:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -572,7 +572,7 @@ sal_Bool SAL_CALL CDOTransferable::compareDataFlavors( sal_Bool SAL_CALL CDOTransferable::cmpFullMediaType( const Reference< XMimeContentType >& xLhs, const Reference< XMimeContentType >& xRhs ) const { - return xLhs->getFullMediaType().equalsIgnoreCase( xRhs->getFullMediaType( ) ); + return xLhs->getFullMediaType().equalsIgnoreAsciiCase( xRhs->getFullMediaType( ) ); } //------------------------------------------------------------------------ @@ -598,7 +598,7 @@ sal_Bool SAL_CALL CDOTransferable::cmpAllContentTypeParameter( pLhs = xLhs->getParameterValue( xLhsFlavors[i] ); pRhs = xRhs->getParameterValue( xLhsFlavors[i] ); - if ( !pLhs.equalsIgnoreCase( pRhs ) ) + if ( !pLhs.equalsIgnoreAsciiCase( pRhs ) ) { bRet = sal_False; break; diff --git a/dtrans/source/win32/dtobj/DataFmtTransl.cxx b/dtrans/source/win32/dtobj/DataFmtTransl.cxx index 9baa6a93583b..f27d83954e27 100644 --- a/dtrans/source/win32/dtobj/DataFmtTransl.cxx +++ b/dtrans/source/win32/dtobj/DataFmtTransl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: DataFmtTransl.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: tra $ $Date: 2001-03-23 11:58:01 $ + * last change: $Author: tra $ $Date: 2001-05-15 12:37:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -338,7 +338,7 @@ sal_Bool SAL_CALL CDataFormatTranslator::isTextHtmlFormat( CLIPFORMAT cf ) const { OUString clipFormatName = getClipboardFormatName( cf ); - return ( clipFormatName.equalsIgnoreCase( + return ( clipFormatName.equalsIgnoreAsciiCase( OUString::createFromAscii( "HTML (HyperText Markup Language)" ) ) ); } diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx index 2be354708c1c..22ae7fa1c493 100644 --- a/dtrans/source/win32/ftransl/ftransl.cxx +++ b/dtrans/source/win32/ftransl/ftransl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ftransl.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: tbe $ $Date: 2001-04-10 15:23:19 $ + * last change: $Author: tra $ $Date: 2001-05-15 12:39:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -433,7 +433,7 @@ void SAL_CALL CDataFormatTranslator::findDataFlavorForNativeFormatName( const OU citer != citer_end; ++citer ) { - if ( aNativeFormatName.equalsIgnoreCase( citer->aNativeFormatName ) ) + if ( aNativeFormatName.equalsIgnoreAsciiCase( citer->aNativeFormatName ) ) { aDataFlavor = citer->aDataFlavor; break; @@ -447,7 +447,7 @@ void SAL_CALL CDataFormatTranslator::findDataFlavorForNativeFormatName( const OU void SAL_CALL CDataFormatTranslator::findStandardFormatIdForCharset( const OUString& aCharset, Any& aAny ) const { - if ( aCharset.equalsIgnoreCase( OUSTR( utf-16 ) ) ) + if ( aCharset.equalsIgnoreAsciiCase( OUSTR( utf-16 ) ) ) aAny <<= static_cast< sal_Int32 >( CF_UNICODETEXT ); else { @@ -466,7 +466,7 @@ void SAL_CALL CDataFormatTranslator::setStandardFormatIdForNativeFormatName( con vector< FormatEntry >::const_iterator citer_end = m_TranslTable.end( ); for ( vector< FormatEntry >::const_iterator citer = m_TranslTable.begin( ); citer != citer_end; ++citer ) { - if ( aNativeFormatName.equalsIgnoreCase( citer->aNativeFormatName ) && + if ( aNativeFormatName.equalsIgnoreAsciiCase( citer->aNativeFormatName ) && (CF_INVALID != citer->aStandardFormatId) ) { aAny <<= citer->aStandardFormatId; @@ -489,7 +489,7 @@ void SAL_CALL CDataFormatTranslator::findStdFormatIdOrNativeFormatNameForFullMed { Reference< XMimeContentType > refXMime( aRefXMimeFactory->createMimeContentType( citer->aDataFlavor.MimeType ) ); - if ( aFullMediaType.equalsIgnoreCase( refXMime->getFullMediaType( ) ) ) + if ( aFullMediaType.equalsIgnoreAsciiCase( refXMime->getFullMediaType( ) ) ) { sal_Int32 cf = citer->aStandardFormatId; if ( CF_INVALID != cf ) @@ -512,7 +512,7 @@ void SAL_CALL CDataFormatTranslator::findStdFormatIdOrNativeFormatNameForFullMed inline sal_Bool CDataFormatTranslator::isTextPlainMediaType( const OUString& fullMediaType ) const { - return ( fullMediaType.equalsIgnoreCase( OUSTR( text/plain ) ) ); + return ( fullMediaType.equalsIgnoreAsciiCase( OUSTR( text/plain ) ) ); } // ------------------------------------------------- |