summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorAshish Banerjee <ashish.banerjee10@gmail.com>2013-04-03 20:11:54 -0600
committerMiklos Vajna <vmiklos@suse.cz>2013-04-05 08:57:28 +0000
commite1f6dac6893e0ad9e1b1f03a3b882cf1e9a08d32 (patch)
treecaa0f6e9a40b163b7a375d39228bbc918687b99c /desktop
parent55664c9bd2469d3e493e6f1b67fbb2f96500d492 (diff)
Replace `compareTo(...) == 0` with ==
Proposed patch for the following issue: https://bugs.freedesktop.org/show_bug.cgi?id=62096 Change-Id: Ib83a9051ea12c53642f781e5427a6ca728049a7f Reviewed-on: https://gerrit.libreoffice.org/3198 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/manager/dp_informationprovider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/deployment/manager/dp_informationprovider.cxx b/desktop/source/deployment/manager/dp_informationprovider.cxx
index 90c75ee092b0..33fa0748f37c 100644
--- a/desktop/source/deployment/manager/dp_informationprovider.cxx
+++ b/desktop/source/deployment/manager/dp_informationprovider.cxx
@@ -121,7 +121,7 @@ rtl::OUString PackageInformationProvider::getPackageLocation(
try
{
const beans::Optional< rtl::OUString > aID = packages[ pos ]->getIdentifier();
- if ( aID.IsPresent && aID.Value.compareTo( _rExtensionId ) == 0 )
+ if ( aID.IsPresent && (aID.Value == _rExtensionId ) )
{
aLocationURL = packages[ pos ]->getURL();
break;