Cleanup locally used variables in Calendar_hijri
commit9cad66da644e1721f9a49c2b5fffd86da08f78c5
authorHossein <hossein@libreoffice.org>
Fri, 19 Nov 2021 08:12:18 +0000 (19 09:12 +0100)
committerHossein <hossein@libreoffice.org>
Fri, 19 Nov 2021 10:26:09 +0000 (19 11:26 +0100)
tree078edf81008d18f3acb0a05ba988452e6320b9b2
parent96d19777abfdf74c9776470e39ee3ec7e1b2e256
Cleanup locally used variables in Calendar_hijri

* Some variables that were only used in the calendar_hijri.cxx
  are now moved out of the header file, and they are no loner
  member variables of the the class Calendar_hijri. They are now
  placed in the the i18npool namespace.
* Removed unused variables SynMonth, EveningPeriod and LeapYear
* Moved a global variable definition to the member function that was
  the only place it was used. It is now a local variable.

Change-Id: I8a8b25765bd8ed5640b1a0cfa46ec9903b460a53
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125433
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
i18npool/inc/calendar_hijri.hxx
i18npool/source/calendar/calendar_hijri.cxx