diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-21 14:48:40 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-21 14:48:40 +0100 |
commit | 2d7babac3dadcf130259f8fa7375ea8c947ab741 (patch) | |
tree | b4cde7b2ca94f4fd49599209ce00fd27cbb20567 /sd/source/ui/unoidl/unomodel.cxx | |
parent | 5cffde5b2d3a1cf8391761c3815de4c128173aa0 (diff) |
Replace suitable equalsAscii calls with equalsAsciiL.
Diffstat (limited to 'sd/source/ui/unoidl/unomodel.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 12c273370f39..3624ab7ce980 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -1192,7 +1192,7 @@ sal_Bool SAL_CALL SdXImpressDocument::supportsService( const OUString& ServiceNa ::SolarMutexGuard aGuard; if ( - (ServiceName.equalsAscii("com.sun.star.document.OfficeDocument" )) || + (ServiceName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.document.OfficeDocument"))) || (ServiceName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.GenericDrawingDocument"))) || (ServiceName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.DrawingDocumentFactory"))) ) @@ -1202,7 +1202,7 @@ sal_Bool SAL_CALL SdXImpressDocument::supportsService( const OUString& ServiceNa return ( ( mbImpressDoc && ServiceName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.PresentationDocument"))) || - (!mbImpressDoc && ServiceName.equalsAscii("com.sun.star.drawing.DrawingDocument" )) + (!mbImpressDoc && ServiceName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.DrawingDocument"))) ); } |