diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-24 09:17:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-24 10:09:26 +0200 |
commit | e0bf7914b45c4236a9266295df915a9079d9ff00 (patch) | |
tree | 32503223850fe5db2f404e7fb4a58dbb51339f85 /xmloff | |
parent | 22c59683144171cc96c71f00c24dbf540681c2ee (diff) |
loplugin:unusedfields in xmloff/
Change-Id: I1fb9cb1bc04fb0886d6080f62899a04e8fd4429e
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/txtfldi.hxx | 3 | ||||
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 3 | ||||
-rw-r--r-- | xmloff/source/draw/XMLImageMapContext.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/animationimport.cxx | 5 | ||||
-rw-r--r-- | xmloff/source/draw/animimp.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/ximpshap.cxx | 1 | ||||
-rw-r--r-- | xmloff/source/draw/ximpshap.hxx | 1 | ||||
-rw-r--r-- | xmloff/source/draw/ximpshow.cxx | 7 | ||||
-rw-r--r-- | xmloff/source/text/XMLIndexTemplateContext.cxx | 1 | ||||
-rw-r--r-- | xmloff/source/text/XMLIndexTemplateContext.hxx | 1 | ||||
-rw-r--r-- | xmloff/source/xforms/xformsexport.cxx | 5 |
11 files changed, 4 insertions, 27 deletions
diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx index 2baa3117e1cd..e9436c4918c4 100644 --- a/xmloff/inc/txtfldi.hxx +++ b/xmloff/inc/txtfldi.hxx @@ -1389,10 +1389,7 @@ public: class XMLCustomPropertyFieldImportContext : public XMLTextFieldImportContext { - OUString sName; ::com::sun::star::uno::Any aValue; - const OUString sPropertyName; - const OUString sPropertyValue; public: diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 1da587b78775..737e7d1cda2e 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -257,9 +257,6 @@ public: SvtSaveOptions maSaveOptions; - /// relative path of stream in package, e.g. "someobject/content.xml" - OUString mStreamPath; - /// name of stream in package, e.g., "content.xml" OUString mStreamName; diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx index 2a4dc6d43da6..7c313375eb1a 100644 --- a/xmloff/source/draw/XMLImageMapContext.cxx +++ b/xmloff/source/draw/XMLImageMapContext.cxx @@ -104,7 +104,6 @@ protected: const OUString sCenter; const OUString sTitle; const OUString sDescription; - const OUString sImageMap; const OUString sIsActive; const OUString sName; const OUString sPolygon; @@ -170,7 +169,6 @@ XMLImageMapObjectContext::XMLImageMapObjectContext( sCenter("Center"), sTitle("Title"), sDescription("Description"), - sImageMap("ImageMap"), sIsActive("IsActive"), sName("Name"), sPolygon("Polygon"), diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index 9d374e3a34dd..f7c5e72c2739 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -124,15 +124,12 @@ public: Any convertTiming( const OUString& rValue ); static Sequence< double > convertKeyTimes( const OUString& rValue ); static Sequence< TimeFilterPair > convertTimeFilter( const OUString& rValue ); - - const OUString mastrHSL; }; AnimationsImportHelperImpl::AnimationsImportHelperImpl( SvXMLImport& rImport ) : mrImport( rImport ), mpAnimationNodeTokenMap( nullptr ), - mpAnimationNodeAttributeTokenMap( nullptr ), - mastrHSL( "hsl" ) + mpAnimationNodeAttributeTokenMap( nullptr ) { } diff --git a/xmloff/source/draw/animimp.cxx b/xmloff/source/draw/animimp.cxx index 3ce0856dbc8b..1aae82c862fd 100644 --- a/xmloff/source/draw/animimp.cxx +++ b/xmloff/source/draw/animimp.cxx @@ -326,7 +326,6 @@ public: OUString msDimPrev; OUString msEffect; OUString msPlayFull; - OUString msPresOrder; OUString msSound; OUString msSoundOn; OUString msSpeed; @@ -341,7 +340,6 @@ public: msDimPrev( "DimPrevious" ), msEffect( "Effect" ), msPlayFull( "PlayFull" ), - msPresOrder( "PresentationOrder" ), msSound( "Sound" ), msSoundOn( "SoundOn" ), msSpeed( "Speed" ), diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index 41704fa5e625..91af3ee57478 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -148,7 +148,6 @@ SdXMLShapeContext::SdXMLShapeContext( , mxAttrList(xAttrList) , mbListContextPushed( false ) , mnStyleFamily(XML_STYLE_FAMILY_SD_GRAPHICS_ID) - , mnClass(0) , mbIsPlaceholder(false) , mbClearDefaultAttributes( true ) , mbIsUserTransformed(false) diff --git a/xmloff/source/draw/ximpshap.hxx b/xmloff/source/draw/ximpshap.hxx index e2f6b9b8e384..2e11cf1e06b9 100644 --- a/xmloff/source/draw/ximpshap.hxx +++ b/xmloff/source/draw/ximpshap.hxx @@ -60,7 +60,6 @@ protected: bool mbListContextPushed; sal_uInt16 mnStyleFamily; - sal_uInt16 mnClass; bool mbIsPlaceholder; bool mbClearDefaultAttributes; bool mbIsUserTransformed; diff --git a/xmloff/source/draw/ximpshow.cxx b/xmloff/source/draw/ximpshow.cxx index baa9eb058231..0b5efd5a7b0b 100644 --- a/xmloff/source/draw/ximpshow.cxx +++ b/xmloff/source/draw/ximpshow.cxx @@ -54,17 +54,12 @@ public: Reference< XPropertySet > mxPresProps; Reference< XNameAccess > mxPages; OUString maCustomShowName; - SdXMLImport& mrImport; - - explicit ShowsImpImpl( SdXMLImport& rImport ) - : mrImport( rImport ) - {} }; SdXMLShowsContext::SdXMLShowsContext( SdXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList ) : SvXMLImportContext(rImport, nPrfx, rLocalName), - mpImpl(new ShowsImpImpl( rImport ) ) + mpImpl(new ShowsImpImpl ) { Reference< XCustomPresentationSupplier > xShowsSupplier( rImport.GetModel(), UNO_QUERY ); diff --git a/xmloff/source/text/XMLIndexTemplateContext.cxx b/xmloff/source/text/XMLIndexTemplateContext.cxx index e4bce4d9cb50..0e47d86ccc9b 100644 --- a/xmloff/source/text/XMLIndexTemplateContext.cxx +++ b/xmloff/source/text/XMLIndexTemplateContext.cxx @@ -102,7 +102,6 @@ XMLIndexTemplateContext::XMLIndexTemplateContext( , sChapterLevel("ChapterLevel") //#i53420 , sLevelFormat("LevelFormat") -, sParaStyleLevel("ParaStyleLevel") { DBG_ASSERT( ((XML_TOKEN_INVALID != eLevelAttrName) && (nullptr != pLevelNameMap)) || ((XML_TOKEN_INVALID == eLevelAttrName) && (nullptr == pLevelNameMap)), diff --git a/xmloff/source/text/XMLIndexTemplateContext.hxx b/xmloff/source/text/XMLIndexTemplateContext.hxx index 01ae06e3742e..31b7f690fccd 100644 --- a/xmloff/source/text/XMLIndexTemplateContext.hxx +++ b/xmloff/source/text/XMLIndexTemplateContext.hxx @@ -109,7 +109,6 @@ public: const OUString sChapterLevel;//i53420 const OUString sLevelFormat; - const OUString sParaStyleLevel; diff --git a/xmloff/source/xforms/xformsexport.cxx b/xmloff/source/xforms/xformsexport.cxx index 5ae21eee72dc..af419af8364b 100644 --- a/xmloff/source/xforms/xformsexport.cxx +++ b/xmloff/source/xforms/xformsexport.cxx @@ -114,7 +114,6 @@ typedef OUString (*convert_t)( const Any& ); typedef struct { const sal_Char* pPropertyName; - sal_uInt16 nPropertyNameLength; sal_uInt16 nNamespace; sal_uInt16 nToken; convert_t aConverter; @@ -123,8 +122,8 @@ static void lcl_export( const Reference<XPropertySet>& rPropertySet, SvXMLExport& rExport, const ExportTable* pTable ); -#define TABLE_ENTRY(NAME,NAMESPACE,TOKEN,CONVERTER) { NAME,sizeof(NAME)-1,XML_NAMESPACE_##NAMESPACE,xmloff::token::XML_##TOKEN, CONVERTER } -#define TABLE_END { nullptr, 0, 0, 0, nullptr } +#define TABLE_ENTRY(NAME,NAMESPACE,TOKEN,CONVERTER) { NAME,XML_NAMESPACE_##NAMESPACE,xmloff::token::XML_##TOKEN, CONVERTER } +#define TABLE_END { nullptr, 0, 0, nullptr } // any conversion functions OUString xforms_string( const Any& ); |