summaryrefslogtreecommitdiff
path: root/filter/source
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
parent405caad685edd0ba914789bda01b5dc9b3030773 (diff)
loplugin: unused variables
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
Diffstat (limited to 'filter/source')
-rw-r--r--filter/source/flash/swfwriter1.cxx1
-rw-r--r--filter/source/graphicfilter/eps/eps.cxx1
-rw-r--r--filter/source/svg/svgreader.cxx4
-rw-r--r--filter/source/svg/svgwriter.cxx3
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.cxx1
-rw-r--r--filter/source/xsltdialog/xmlfiltertestdialog.cxx1
-rw-r--r--filter/source/xsltfilter/XSLTFilter.cxx2
7 files changed, 1 insertions, 12 deletions
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index fd0b91e92df2..71fcec30b36d 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -1638,7 +1638,6 @@ void Writer::Impl_writeActions( const GDIMetaFile& rMtf )
{
const MetaCommentAction* pA = (const MetaCommentAction*) pAction;
const sal_uInt8* pData = pA->GetData();
- String aSkipComment;
if( pA->GetComment().equalsIgnoreAsciiCase("XGRAD_SEQ_BEGIN") )
{
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx
index 58c56f526c0e..e75475240b02 100644
--- a/filter/source/graphicfilter/eps/eps.cxx
+++ b/filter/source/graphicfilter/eps/eps.cxx
@@ -2046,7 +2046,6 @@ void PSWriter::ImplText( const String& rUniString, const Point& rPos, const sal_
sal_Int16 nRotation = maFont.GetOrientation();
Polygon aPolyDummy( 1 );
- PolyPolygon aPolyPoly;
Point aPos( rPos );
if ( nRotation )
{
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 ) )
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
index a2bf034486f9..4e387b9397f9 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
@@ -726,7 +726,6 @@ bool XMLFilterSettingsDialog::insertOrEdit( filter_info_impl* pNewInfo, const fi
sal_Int32 nStr;
for( nStr = 0; nStr < nStrCount; nStr++ )
{
- OUString aType( aTypes[nStr] );
if( aTypes[nStr] == pFilterEntry->maType )
break;
}
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
index 45742df584e3..98732a433553 100644
--- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
@@ -267,7 +267,6 @@ void XMLFilterTestDialog::initDialog()
aTitle.SearchAndReplace( String( RTL_CONSTASCII_USTRINGPARAM("%s") ), m_pFilterInfo->maFilterName );
SetText( aTitle );
- String aEmpty;
bool bImport = (m_pFilterInfo->maFlags & 1) == 1;
bool bExport = (m_pFilterInfo->maFlags & 2) == 2;
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx
index 2b7727449760..2764a37e1ca2 100644
--- a/filter/source/xsltfilter/XSLTFilter.cxx
+++ b/filter/source/xsltfilter/XSLTFilter.cxx
@@ -282,7 +282,6 @@ m_rServiceFactory(r), m_bTerminated(sal_False), m_bError(sal_False)
if (msUserData.getLength() < 5)
return sal_False;
- OUString udImport = msUserData[2];
OUString udStyleSheet = rel2abs(msUserData[4]);
// get information from media descriptor
@@ -425,7 +424,6 @@ m_rServiceFactory(r), m_bTerminated(sal_False), m_bError(sal_False)
return sal_False;
// get interesting values from user data
- OUString udImport = msUserData[2];
OUString udStyleSheet = rel2abs(msUserData[5]);
// read source data