diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-02-26 14:58:33 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-02-26 14:58:33 +0100 |
commit | 67d01fb5d4010a2486e47cdd9f55f38a2da162f2 (patch) | |
tree | c09e96419606c85bd2c6175a8a5d7a159dff063d /sd | |
parent | Avoid temporary rtl::OUString (diff) | |
download | core-67d01fb5d4010a2486e47cdd9f55f38a2da162f2.tar.gz core-67d01fb5d4010a2486e47cdd9f55f38a2da162f2.zip |
Avoid temporary rtl::OUString
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx index 5ae050a8a43c..3bfe71880924 100644 --- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx +++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx @@ -744,8 +744,7 @@ void SAL_CALL AccessibleDocumentViewBase::disposing (void) if (xInfo.is()) { OUString sFirstService = xInfo->getSupportedServiceNames()[0]; - if (sFirstService == OUString ( - RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.DrawingDocumentDrawView"))) + if (sFirstService.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.DrawingDocumentDrawView"))) { sDescription = OUString (RTL_CONSTASCII_USTRINGPARAM("Draw Document")); } |