diff options
Diffstat (limited to 'filter/source/svg')
-rw-r--r-- | filter/source/svg/svgreader.cxx | 4 | ||||
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx index 700b2cd05e0f..f39e303a1355 100644 --- a/filter/source/svg/svgreader.cxx +++ b/filter/source/svg/svgreader.cxx @@ -178,7 +178,6 @@ struct AnnotatingVisitor case XML_LINEARGRADIENT: { const sal_Int32 nNumAttrs( xAttributes->getLength() ); - rtl::OUString sAttributeValue; maGradientVector.push_back(Gradient(Gradient::LINEAR)); // do we have a reference to a parent gradient? parse @@ -216,7 +215,6 @@ struct AnnotatingVisitor case XML_RADIALGRADIENT: { const sal_Int32 nNumAttrs( xAttributes->getLength() ); - rtl::OUString sAttributeValue; maGradientVector.push_back(Gradient(Gradient::RADIAL)); // do we have a reference to a parent gradient? parse @@ -254,7 +252,6 @@ struct AnnotatingVisitor case XML_STOP: { const sal_Int32 nNumAttrs( xAttributes->getLength() ); - rtl::OUString sAttributeValue; maGradientStopVector.push_back(GradientStop()); maGradientVector.back().maStops.push_back(maGradientStopVector.size()-1); for( sal_Int32 i=0; i<nNumAttrs; ++i ) @@ -1627,7 +1624,6 @@ struct ShapeWritingVisitor const basegfx::B2DEllipse& rEllipse) { State aState = maCurrState; - rtl::OUString aStyleId(rStyleId); xAttrs->Clear(); diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 61f10678520e..243d511079ea 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -316,7 +316,7 @@ void SVGAttributeWriter::SetFontAttr( const Font& rFont ) { if( rFont != maCurFont ) { - ::rtl::OUString aFontStyle, aFontWeight, aTextDecoration; + ::rtl::OUString aFontStyle, aTextDecoration; sal_Int32 nFontWeight; maCurFont = rFont; @@ -3222,7 +3222,6 @@ void SVGActionWriter::ImplWriteActions( const GDIMetaFile& rMtf, case( META_COMMENT_ACTION ): { const MetaCommentAction* pA = (const MetaCommentAction*) pAction; - String aSkipComment; if( ( pA->GetComment().equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("XGRAD_SEQ_BEGIN")) ) && ( nWriteFlags & SVGWRITER_WRITE_FILL ) ) |