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>
This commit is contained in:
Noel Grandin
2021-04-12 14:35:41 +02:00
parent 26fc87c682
commit 4627cac8e5
5 changed files with 1 additions and 14 deletions

View File

@@ -164,7 +164,6 @@ private:
mutable std::recursive_mutex m_aMutex; mutable std::recursive_mutex m_aMutex;
WorkerThread *m_pThread; WorkerThread *m_pThread;
osl::Condition m_aCondition; osl::Condition m_aCondition;
osl::Condition m_NotInWaitState;
UpdateInfo m_aUpdateInfo; UpdateInfo m_aUpdateInfo;
OUString m_aImageName; OUString m_aImageName;

View File

@@ -93,8 +93,6 @@ protected:
::basegfx::B3DVector maVPN; ::basegfx::B3DVector maVPN;
::basegfx::B3DVector maVUP; ::basegfx::B3DVector maVUP;
bool mbVRPUsed; bool mbVRPUsed;
bool mbVPNUsed;
bool mbVUPUsed;
public: public:
SdXML3DSceneAttributesHelper( SvXMLImport& rImporter ); SdXML3DSceneAttributesHelper( SvXMLImport& rImporter );

View File

@@ -148,7 +148,6 @@ private:
OUStringBuffer aFormatCode{64}; OUStringBuffer aFormatCode{64};
OUStringBuffer aConditions{32}; OUStringBuffer aConditions{32};
bool bHasLongDoW; bool bHasLongDoW;
bool bHasEra;
bool bHasDateTime; bool bHasDateTime;
bool bRemoveAfterUse; bool bRemoveAfterUse;

View File

@@ -198,9 +198,7 @@ SdXML3DSceneAttributesHelper::SdXML3DSceneAttributesHelper( SvXMLImport& rImport
maVRP(0.0, 0.0, 1.0), maVRP(0.0, 0.0, 1.0),
maVPN(0.0, 0.0, 1.0), maVPN(0.0, 0.0, 1.0),
maVUP(0.0, 1.0, 0.0), maVUP(0.0, 1.0, 0.0),
mbVRPUsed(false), mbVRPUsed(false)
mbVPNUsed(false),
mbVUPUsed(false)
{ {
} }
@@ -251,7 +249,6 @@ void SdXML3DSceneAttributesHelper::processSceneAttribute( const sax_fastparser::
if(aNewVec != maVPN) if(aNewVec != maVPN)
{ {
maVPN = aNewVec; maVPN = aNewVec;
mbVPNUsed = true;
} }
return; return;
} }
@@ -263,7 +260,6 @@ void SdXML3DSceneAttributesHelper::processSceneAttribute( const sax_fastparser::
if(aNewVec != maVUP) if(aNewVec != maVUP)
{ {
maVUP = aNewVec; maVUP = aNewVec;
mbVUPUsed = true;
} }
return; return;
} }

View File

@@ -1134,7 +1134,6 @@ SvXMLNumFormatContext::SvXMLNumFormatContext( SvXMLImport& rImport,
bAutoInt( false ), bAutoInt( false ),
bHasExtraText( false ), bHasExtraText( false ),
bHasLongDoW( false ), bHasLongDoW( false ),
bHasEra( false ),
bHasDateTime( false ), bHasDateTime( false ),
bRemoveAfterUse( false ), bRemoveAfterUse( false ),
eDateDOW( XML_DEA_NONE ), eDateDOW( XML_DEA_NONE ),
@@ -1271,7 +1270,6 @@ SvXMLNumFormatContext::SvXMLNumFormatContext( SvXMLImport& rImport,
bAutoInt( false ), bAutoInt( false ),
bHasExtraText( false ), bHasExtraText( false ),
bHasLongDoW( false ), bHasLongDoW( false ),
bHasEra( false ),
bHasDateTime( false ), bHasDateTime( false ),
bRemoveAfterUse( false ), bRemoveAfterUse( false ),
eDateDOW( XML_DEA_NONE ), eDateDOW( XML_DEA_NONE ),
@@ -1872,9 +1870,6 @@ void SvXMLNumFormatContext::AddNfKeyword( sal_uInt16 nIndex )
if (!pFormatter) if (!pFormatter)
return; return;
if ( nIndex == NF_KEY_G || nIndex == NF_KEY_GG || nIndex == NF_KEY_GGG )
bHasEra = true;
if ( nIndex == NF_KEY_NNNN ) if ( nIndex == NF_KEY_NNNN )
{ {
nIndex = NF_KEY_NNN; nIndex = NF_KEY_NNN;