summaryrefslogtreecommitdiff
path: root/i18npool/inc
diff options
context:
space:
mode:
authorHossein <hossein@libreoffice.org>2021-11-18 02:25:20 +0100
committerHossein <hossein@libreoffice.org>2021-11-18 10:03:35 +0100
commitdd8b064af0b4cb44575eb4f3482db18485bfc8d3 (patch)
treeec1965afae29232e6240d21ec725813db4ad97a4 /i18npool/inc
parentccfeef1a48f5add83e443afd6664f40df59381b4 (diff)
Cleanup Calendar_hijri
* Removed the static member variable SA_TimeZone, which is not used elsewhere * It is write-only according to the clang compilerplugins output: compilerplugins/clang/unusedvarsglobal.writeonly.results * Time zone should not be allocated as a constant * Removed unused local variables commented out 15 years ago to avoid warnings in: 4170cbdbdfc9ceb282d25e1e19cd7b4d178436bf Change-Id: Ifc24651ae0aee33dd6a01c77c919ce0cb0426366 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125432 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'i18npool/inc')
-rw-r--r--i18npool/inc/calendar_hijri.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/i18npool/inc/calendar_hijri.hxx b/i18npool/inc/calendar_hijri.hxx
index 9732ca373155..c11a507bb420 100644
--- a/i18npool/inc/calendar_hijri.hxx
+++ b/i18npool/inc/calendar_hijri.hxx
@@ -49,9 +49,6 @@ private:
static const sal_Int32 SynRef;
static const sal_Int32 GregRef;
- // Local time (Saudi Arabia)
- static const double SA_TimeZone; // Time Zone
-
// Period between 1.30pm - 6:30pm
static const double EveningPeriod;