summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-09 12:51:35 +0200
committerNoel Grandin <noel@peralex.com>2013-12-09 12:53:18 +0200
commitc5b7a5fd191a8ec65a64980fe3197832dba1ffae (patch)
treea4da3b16cd52626274819345cfbac480b04eef52 /desktop
parentaefd8ff742f8952327f1bddc37e62317d69ffb7d (diff)
fix equalsAscii conversion. Noticed in fdo#72391
In commit 363cc397172f2b0a94d9c4dc44fc8d95072795a3 "convert equalsAsciiL calls to startWith calls where possible" I incorrectly converted equalsAsciiL calls to startsWith calls. This commit fixes those places to use the == OUString operator. Change-Id: If76993baf73e3d8fb3bbcf6e8314e59fdc1207b6
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/migration/migration.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx
index 64cf32e23441..974515f3822f 100644
--- a/desktop/source/migration/migration.cxx
+++ b/desktop/source/migration/migration.cxx
@@ -1054,7 +1054,7 @@ void MigrationImpl::runServices()
{
OUString sExtension(sToolbarName.copy(nIndex));
OUString sToolbarResourceName(sToolbarName.copy(0, nIndex));
- if (!sToolbarResourceName.isEmpty() && sExtension.startsWith(".xml"))
+ if (!sToolbarResourceName.isEmpty() && sExtension == ".xml")
aModuleInfo.m_vToolbars.push_back(sToolbarResourceName);
}
}