summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-07-12 21:16:26 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-13 08:20:40 +0000
commitcba5a9223a7e8141dc171c3e2e992ce1c0df8330 (patch)
treed6fb552946346d47bbe727e74db9944c74b1261c /framework
parentea95a97c1ddcc6ad4f90ac2397ffb8c7b77b490f (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.hxx2
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. */ \