File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ OUString SAL_CALL CMimeContentType::quotedPValue( )
290
290
{
291
291
break ;
292
292
}
293
- else if ( isInRange ( m_nxtSym, OUString (TOKEN) + OUString ( TSPECIALS) + OUString ( SPACE) ) )
293
+ else if ( isInRange ( m_nxtSym, OUStringLiteral (TOKEN) + TSPECIALS + SPACE ) )
294
294
{
295
295
pvalue += m_nxtSym;
296
296
if ( m_nxtSym == " \" " )
@@ -329,7 +329,7 @@ void SAL_CALL CMimeContentType::comment( void )
329
329
{
330
330
while ( !m_nxtSym.isEmpty ( ) )
331
331
{
332
- if ( isInRange ( m_nxtSym, OUString (TOKEN) + OUString ( SPACE) ) )
332
+ if ( isInRange ( m_nxtSym, OUStringLiteral (TOKEN) + SPACE ) )
333
333
getSym ( );
334
334
else if ( m_nxtSym == " )" )
335
335
break ;
Original file line number Diff line number Diff line change 25
25
26
26
// some defines
27
27
28
- // the service names
29
- #define MIMECONTENTTYPEFACTORY_SERVICE_NAME " com.sun.star.datatransfer.MimeContentTypeFactory"
30
-
31
28
// the implementation names
32
29
#define MIMECONTENTTYPEFACTORY_IMPL_NAME " com.sun.star.datatransfer.MimeCntTypeFactory"
33
30
@@ -67,7 +64,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL mcnttype_component_getFactory( const sal_Cha
67
64
if ( pSrvManager && ( 0 == rtl_str_compare ( pImplName, MIMECONTENTTYPEFACTORY_IMPL_NAME ) ) )
68
65
{
69
66
Sequence< OUString > aSNS ( 1 );
70
- aSNS.getArray ( )[0 ] = OUString ( MIMECONTENTTYPEFACTORY_SERVICE_NAME ) ;
67
+ aSNS.getArray ( )[0 ] = " com.sun.star.datatransfer.MimeContentTypeFactory " ;
71
68
72
69
Reference< XSingleServiceFactory > xFactory ( createSingleFactory (
73
70
reinterpret_cast < XMultiServiceFactory* > ( pSrvManager ),
You can’t perform that action at this time.
0 commit comments