diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-22 13:12:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-22 13:13:05 +0000 |
commit | 1c15a20df81fef594ef8fa887247aef9f2248c28 (patch) | |
tree | c2308bf3962efdc44d0391b26eaddb3b1155ae1f /connectivity/source | |
parent | 875c5905c71635c8e75d0756cc86d953523726e2 (diff) |
loplugin:unusedmethods unused returns
Change-Id: I4da3374e31d3c7407b401d66275da7f56ae83d30
Reviewed-on: https://gerrit.libreoffice.org/29178
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx | 3 | ||||
-rw-r--r-- | connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx index 7fb917f23208..9f4ca1c9c1c2 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.cxx @@ -61,7 +61,7 @@ namespace connectivity LoadXPToolkitProfiles(MozillaProductType_Firefox); } //Thunderbird and firefox profiles are saved in profiles.ini - sal_Int32 ProfileAccess::LoadXPToolkitProfiles(MozillaProductType product) + void ProfileAccess::LoadXPToolkitProfiles(MozillaProductType product) { sal_Int32 index=product; ProductStruct &rProduct = m_ProductProfileList[index]; @@ -137,7 +137,6 @@ namespace connectivity } } - return static_cast< ::sal_Int32 >(rProduct.mProfileList.size()); } OUString ProfileAccess::getProfilePath( css::mozilla::MozillaProductType product, const OUString& profileName ) throw (css::uno::RuntimeException) diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx index 7472fc226573..d2eed6c7c67a 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx +++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx @@ -80,7 +80,7 @@ namespace connectivity protected: ProductStruct m_ProductProfileList[4]; void LoadProductsInfo(); - sal_Int32 LoadXPToolkitProfiles(MozillaProductType product); + void LoadXPToolkitProfiles(MozillaProductType product); }; } |