diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-06-26 11:38:00 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-06-27 13:32:40 +0200 |
commit | b22adb4940fe86f33732be0a1305ccb71f2d0ea9 (patch) | |
tree | 7ca01bb5e9ebfefd9755aebb360a8e7e68b4b624 /dtrans | |
parent | d8fd07188626dc91dac2a8a22e35cfafce3ea969 (diff) |
Remove commented out code
Change-Id: Ifd82dbc35d2f03ee9a9a40f498c8fde3f5a1d5c6
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/cnttype/wbench/testcnttype.cxx | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/dtrans/source/cnttype/wbench/testcnttype.cxx b/dtrans/source/cnttype/wbench/testcnttype.cxx index 7c3f3bf93d97..943a57c78551 100644 --- a/dtrans/source/cnttype/wbench/testcnttype.cxx +++ b/dtrans/source/cnttype/wbench/testcnttype.cxx @@ -54,49 +54,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::container; -//------------------------------------------------------------ -// globales -//------------------------------------------------------------ - -//################################################################ - -/* -void CheckMimeContentType( const OUString& aCntType, const OUString& aType, const OUString& aSubtype, sal_Int32 nParams ) -{ - - Reference< XMimeContentType > xMimeCntType = xMCntTypeFactory->createMimeContentType( aCntType ); - - OSL_ASSERT( aType == xMimeCntType->getMediaType ( ) ); - OSL_ASSERT( aSubtype == xMimeCntType->getMediaSubtype ( ) ); - - try - { - Sequence< OUString > seqParam = xMimeCntType->getParameters( ); - OSL_ASSERT( seqParam.getLength( ) == nParams ); - - OUString param; - OUString pvalue; - for ( sal_Int32 i = 0; i < seqParam.getLength( ); i++ ) - { - param = seqParam[i]; - OSL_ASSERT( xMimeCntType->hasParameter( param ) ); - - pvalue = xMimeCntType->getParameterValue( param ); - } - - pvalue = xMimeCntType->getParameterValue( OUString("aparam") ); - } - catch( IllegalArgumentException& ) - { - printf( "FAILED: Invalid Mime Contenttype detected\n" ); - } - catch( NoSuchElementException& ) - { - - } -} -*/ - //---------------------------------------------------------------- // //---------------------------------------------------------------- |