summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnumfi.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-04-12 14:35:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-12 20:28:54 +0200
commit4627cac8e55e0789c23841c95d333815d4b44a09 (patch)
treec07566d942dddc10e1cbc07739ae18b776d65af0 /xmloff/source/style/xmlnumfi.cxx
parent26fc87c6827e9d86c5b7cf7aa216f0a60ab28411 (diff)
loplugin:unusedfields
Change-Id: Ifb8ff48a05f37c0593bf619d7c774a26cb2655e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113987 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style/xmlnumfi.cxx')
-rw-r--r--xmloff/source/style/xmlnumfi.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index 3928b6788af1..824a05c68e9a 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -1134,7 +1134,6 @@ SvXMLNumFormatContext::SvXMLNumFormatContext( SvXMLImport& rImport,
bAutoInt( false ),
bHasExtraText( false ),
bHasLongDoW( false ),
- bHasEra( false ),
bHasDateTime( false ),
bRemoveAfterUse( false ),
eDateDOW( XML_DEA_NONE ),
@@ -1271,7 +1270,6 @@ SvXMLNumFormatContext::SvXMLNumFormatContext( SvXMLImport& rImport,
bAutoInt( false ),
bHasExtraText( false ),
bHasLongDoW( false ),
- bHasEra( false ),
bHasDateTime( false ),
bRemoveAfterUse( false ),
eDateDOW( XML_DEA_NONE ),
@@ -1872,9 +1870,6 @@ void SvXMLNumFormatContext::AddNfKeyword( sal_uInt16 nIndex )
if (!pFormatter)
return;
- if ( nIndex == NF_KEY_G || nIndex == NF_KEY_GG || nIndex == NF_KEY_GGG )
- bHasEra = true;
-
if ( nIndex == NF_KEY_NNNN )
{
nIndex = NF_KEY_NNN;