diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-14 08:08:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-14 08:30:49 +0200 |
commit | 5487df9cf7c9d14de9b855f178b5d1194b4ae869 (patch) | |
tree | 583c0de790175b80233f684ab8054bce14b6cb70 /extensions | |
parent | b63d48a146c3615f56b6ec83361b3c02ebcbb215 (diff) |
loplugin:redundantinline
Change-Id: I67ee39655193517a7d79eeb7d686cbd564fff7a1
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/check/download.cxx | 4 | ||||
-rw-r--r-- | extensions/source/update/check/updatecheck.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/update/check/download.cxx b/extensions/source/update/check/download.cxx index 75579ca0f8f2..de8b4cc8747e 100644 --- a/extensions/source/update/check/download.cxx +++ b/extensions/source/update/check/download.cxx @@ -91,7 +91,7 @@ static void openFile( OutData& out ) } -static inline OString +static OString getStringValue(const uno::Reference< container::XNameAccess >& xNameAccess, const OUString& aName) { OSL_ASSERT(xNameAccess->hasByName(aName)); @@ -101,7 +101,7 @@ getStringValue(const uno::Reference< container::XNameAccess >& xNameAccess, cons } -static inline sal_Int32 +static sal_Int32 getInt32Value(const uno::Reference< container::XNameAccess >& xNameAccess, const OUString& aName) { diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 1120643ba3bc..dd07258df128 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -84,7 +84,7 @@ OUString getReleaseNote(const UpdateInfo& rInfo, sal_uInt8 pos, bool autoDownloa namespace { -inline OUString getBuildId() +OUString getBuildId() { OUString aPathVal("${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("version") ":buildid}"); rtl::Bootstrap::expandMacros(aPathVal); @@ -93,7 +93,7 @@ inline OUString getBuildId() #if (defined LINUX || defined __sun) -inline OUString getBaseInstallation() +OUString getBaseInstallation() { OUString aPathVal("$BRAND_BASE_DIR"); rtl::Bootstrap::expandMacros(aPathVal); @@ -102,7 +102,7 @@ inline OUString getBaseInstallation() #endif -inline bool isObsoleteUpdateInfo(const OUString& rBuildId) +bool isObsoleteUpdateInfo(const OUString& rBuildId) { return rBuildId != getBuildId() && !rBuildId.isEmpty(); } |