summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-05 11:32:52 +0200
committerNoel Grandin <noel@peralex.com>2013-11-11 12:58:12 +0200
commitef90021abe3735fba57145598fd7c3d359d2718e (patch)
tree9da3ef32700774f56e0225ea28f3bc4ceaffe80c /extensions/source/bibliography
parent0a9ef5a18e148c7a5c9a088e153a7873d1564841 (diff)
convert OUString !compareToAscii to equalsAscii
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
Diffstat (limited to 'extensions/source/bibliography')
-rw-r--r--extensions/source/bibliography/bibload.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx
index 590ee389de63..94e5e0ad92cc 100644
--- a/extensions/source/bibliography/bibload.cxx
+++ b/extensions/source/bibliography/bibload.cxx
@@ -196,7 +196,7 @@ extern "C"
const sal_Char * pImplName, XMultiServiceFactory * pServiceManager, void * /*pRegistryKey*/ )
{
void * pRet = 0;
- if (!BibliographyLoader::getImplementationName_Static().compareToAscii( pImplName ) )
+ if (BibliographyLoader::getImplementationName_Static().equalsAscii( pImplName ) )
{
// create the factory
Reference< XSingleServiceFactory > xFactory =