summaryrefslogtreecommitdiff
path: root/filter/source/svg
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-02-25 03:12:24 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-25 03:14:01 +0100
commit89003e9bd84634ac252c7cace5c7dfb53af1126d (patch)
treef0b18c53ac327db6cd0d9864fad80bf5699eec12 /filter/source/svg
parent405caad685edd0ba914789bda01b5dc9b3030773 (diff)
loplugin: unused variables
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
Diffstat (limited to 'filter/source/svg')
-rw-r--r--filter/source/svg/svgreader.cxx4
-rw-r--r--filter/source/svg/svgwriter.cxx3
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 ) )