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 /sdext | |
parent | 67c953e5a311bd2ab176b51341659b323e4f0ab4 (diff) |
Avoid temporary rtl::OUString
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterClock.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterClock.cxx b/sdext/source/presenter/PresenterClock.cxx index f176b8bc3085..e52f2e0cd86f 100644 --- a/sdext/source/presenter/PresenterClock.cxx +++ b/sdext/source/presenter/PresenterClock.cxx @@ -1038,11 +1038,11 @@ void AnalogBitmapPainter::LoadBitmap ( if (rValues.size() == 3) { BitmapDescriptor* pDescriptor = NULL; - if (rsKey == OUString(RTL_CONSTASCII_USTRINGPARAM("Face"))) + if (rsKey.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Face"))) pDescriptor = &maFace; - else if (rsKey == OUString(RTL_CONSTASCII_USTRINGPARAM("HourHand"))) + else if (rsKey.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("HourHand"))) pDescriptor = &maHourHand; - else if (rsKey == OUString(RTL_CONSTASCII_USTRINGPARAM("MinuteHand"))) + else if (rsKey.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("MinuteHand"))) pDescriptor = &maMinuteHand; if (pDescriptor == NULL) |