summaryrefslogtreecommitdiff
path: root/extensions/source/update/check/updatecheck.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/update/check/updatecheck.cxx')
-rw-r--r--extensions/source/update/check/updatecheck.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index 7037bf93ea29..c110656e61e0 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -113,7 +113,7 @@ inline OUString getBaseInstallation()
inline bool isObsoleteUpdateInfo(const OUString& rBuildId)
{
- return !rBuildId.equals(getBuildId()) && !rBuildId.isEmpty();
+ return rBuildId != getBuildId() && !rBuildId.isEmpty();
}
@@ -1228,7 +1228,7 @@ UpdateCheck::setUpdateInfo(const UpdateInfo& aInfo)
{
osl::ClearableMutexGuard aGuard(m_aMutex);
- bool bSuppressBubble = aInfo.BuildId.equals(m_aUpdateInfo.BuildId);
+ bool bSuppressBubble = aInfo.BuildId == m_aUpdateInfo.BuildId;
m_aUpdateInfo = aInfo;
OSL_ASSERT(DISABLED == m_eState || CHECK_SCHEDULED == m_eState);