diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-07-12 21:16:26 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-13 08:20:40 +0000 |
commit | cba5a9223a7e8141dc171c3e2e992ce1c0df8330 (patch) | |
tree | d6fb552946346d47bbe727e74db9944c74b1261c /framework | |
parent | ea95a97c1ddcc6ad4f90ac2397ffb8c7b77b490f (diff) |
no need to create temporary OUString for comparison
Change-Id: I0a321e8ffbe379588a288084ec2e74e1a8c296b2
Reviewed-on: https://gerrit.libreoffice.org/27171
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/macros/registration.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/inc/macros/registration.hxx b/framework/inc/macros/registration.hxx index 927b437b7b74..0e072e27a9d9 100644 --- a/framework/inc/macros/registration.hxx +++ b/framework/inc/macros/registration.hxx @@ -41,7 +41,7 @@ ________________________________________________________________________________ #define IFFACTORY( CLASS ) \ /* If searched name found ... */ \ /* You can't add some statements before follow line ... Here can be an ELSE-statement! */ \ - if ( CLASS::impl_getStaticImplementationName().equals( OUString::createFromAscii( pImplementationName ) ) ) \ + if ( CLASS::impl_getStaticImplementationName().equalsAscii( pImplementationName ) ) \ { \ /* ... then create right factory for this service. */ \ /* xFactory and xServiceManager are local variables of method which use this macro. */ \ |