From 00f1180c9628b267bef5884b2e0b9635d7117a1b Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Fri, 18 May 2012 22:56:16 +0900 Subject: removed unused const rtl::OUString Change-Id: If02be864f958de96ae1c54fe575b1828410390b1 --- xmloff/source/chart/SchXMLParagraphContext.cxx | 1 - xmloff/source/draw/XMLImageMapContext.cxx | 2 -- xmloff/source/draw/layerimp.cxx | 2 -- xmloff/source/style/ImageStyle.cxx | 3 --- xmloff/source/transform/ChartPlotAreaOASISTContext.cxx | 1 - xmloff/source/transform/ChartPlotAreaOOoTContext.cxx | 1 - 6 files changed, 10 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/chart/SchXMLParagraphContext.cxx b/xmloff/source/chart/SchXMLParagraphContext.cxx index 0bfff91d30f9..03143527a285 100644 --- a/xmloff/source/chart/SchXMLParagraphContext.cxx +++ b/xmloff/source/chart/SchXMLParagraphContext.cxx @@ -58,7 +58,6 @@ void SchXMLParagraphContext::StartElement( const uno::Reference< xml::sax::XAttr if( mpId ) { sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0; - rtl::OUString aValue; bool bHaveXmlId( false ); for( sal_Int16 i = 0; i < nAttrCount; i++ ) diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx index 15c7ec34fa91..2e46f0940910 100644 --- a/xmloff/source/draw/XMLImageMapContext.cxx +++ b/xmloff/source/draw/XMLImageMapContext.cxx @@ -123,8 +123,6 @@ protected: const ::rtl::OUString sTarget; const ::rtl::OUString sURL; - ::rtl::OUString sServiceName; - Reference xImageMap; /// the image map Reference xMapEntry; /// one map-entry (one area) diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx index c101642b07f8..72162b95029b 100644 --- a/xmloff/source/draw/layerimp.cxx +++ b/xmloff/source/draw/layerimp.cxx @@ -78,8 +78,6 @@ SdXMLLayerContext::SdXMLLayerContext( SvXMLImport& rImport, sal_uInt16 nPrefix, : SvXMLImportContext(rImport, nPrefix, rLocalName) , mxLayerManager( xLayerManager ) { - OUString aName; - const sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0; for(sal_Int16 i=0; i < nAttrCount; i++) { diff --git a/xmloff/source/style/ImageStyle.cxx b/xmloff/source/style/ImageStyle.cxx index 29b9d5222cb3..c457551e5b3c 100644 --- a/xmloff/source/style/ImageStyle.cxx +++ b/xmloff/source/style/ImageStyle.cxx @@ -81,9 +81,6 @@ sal_Bool XMLImageStyle::ImpExportXML( const OUString& rStrName, const uno::Any& { if( rValue >>= sImageURL ) { - OUString aStrValue; - OUStringBuffer aOut; - // Name sal_Bool bEncoded = sal_False; rExport.AddAttribute( XML_NAMESPACE_DRAW, XML_NAME, diff --git a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx index 7a50d34d77a9..3a664064af88 100644 --- a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx @@ -109,7 +109,6 @@ XMLTransformerContext * XMLAxisOASISContext::CreateChildContext( void XMLAxisOASISContext::StartElement( const Reference< xml::sax::XAttributeList >& rAttrList ) { - OUString aLocation, aMacroName; Reference< xml::sax::XAttributeList > xAttrList( rAttrList ); XMLMutableAttributeList *pMutableAttrList = 0; sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0; diff --git a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx index e4a711b09fb9..d36cf0e2074a 100644 --- a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx @@ -73,7 +73,6 @@ XMLAxisOOoContext::~XMLAxisOOoContext() void XMLAxisOOoContext::StartElement( const Reference< xml::sax::XAttributeList >& rAttrList ) { - OUString aLocation, aMacroName; Reference< xml::sax::XAttributeList > xAttrList( rAttrList ); XMLMutableAttributeList *pMutableAttrList = 0; sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0; -- cgit v1.2.3