summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-23 20:49:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-24 08:12:31 +0200
commit6a22fc81e219667566b9cc3ed5e9de1898c1fe6b (patch)
treefaf240652c3762ccda48357efb2717b59df6fcc6 /cui/source
parent951b6a9570ae2665f7b6e7cdd6d24d1fc513ba90 (diff)
loplugin:unusedmethods
Change-Id: Ieec5099a8ce9fa3f07e36be244071efc1b101cf7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92803 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/about.cxx10
-rw-r--r--cui/source/inc/about.hxx1
2 files changed, 0 insertions, 11 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx
index d04d15a3b49b..ed58d06acc1c 100644
--- a/cui/source/dialogs/about.cxx
+++ b/cui/source/dialogs/about.cxx
@@ -146,16 +146,6 @@ OUString AboutDialog::GetLocaleString() {
return aLocaleStr;
}
-bool AboutDialog::IsStringValidGitHash(const OUString &hash) {
- for (int i = 0; i < hash.getLength(); i++) {
- if (!rtl::isAsciiHexDigit(hash[i])) {
- return false;
- }
- }
-
- return true;
-}
-
OUString AboutDialog::GetVersionString() {
OUString sVersion = CuiResId(RID_SVXSTR_ABOUT_VERSION);
diff --git a/cui/source/inc/about.hxx b/cui/source/inc/about.hxx
index bd90143a83e6..0872a7c3da44 100644
--- a/cui/source/inc/about.hxx
+++ b/cui/source/inc/about.hxx
@@ -40,7 +40,6 @@ private:
static OUString GetVersionString();
static OUString GetCopyrightString();
static OUString GetLocaleString();
- static bool IsStringValidGitHash(const OUString& hash);
DECL_LINK(HandleClick, weld::Button&, void);