summaryrefslogtreecommitdiff
path: root/xmloff
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
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')
-rw-r--r--xmloff/source/draw/ximp3dscene.cxx6
-rw-r--r--xmloff/source/style/xmlnumfi.cxx5
2 files changed, 1 insertions, 10 deletions
diff --git a/xmloff/source/draw/ximp3dscene.cxx b/xmloff/source/draw/ximp3dscene.cxx
index f6533a670bad..c1519346db88 100644
--- a/xmloff/source/draw/ximp3dscene.cxx
+++ b/xmloff/source/draw/ximp3dscene.cxx
@@ -198,9 +198,7 @@ SdXML3DSceneAttributesHelper::SdXML3DSceneAttributesHelper( SvXMLImport& rImport
maVRP(0.0, 0.0, 1.0),
maVPN(0.0, 0.0, 1.0),
maVUP(0.0, 1.0, 0.0),
- mbVRPUsed(false),
- mbVPNUsed(false),
- mbVUPUsed(false)
+ mbVRPUsed(false)
{
}
@@ -251,7 +249,6 @@ void SdXML3DSceneAttributesHelper::processSceneAttribute( const sax_fastparser::
if(aNewVec != maVPN)
{
maVPN = aNewVec;
- mbVPNUsed = true;
}
return;
}
@@ -263,7 +260,6 @@ void SdXML3DSceneAttributesHelper::processSceneAttribute( const sax_fastparser::
if(aNewVec != maVUP)
{
maVUP = aNewVec;
- mbVUPUsed = true;
}
return;
}
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;