summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-02-25 05:41:44 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-25 05:43:16 +0100
commit76b3e61bb4ac66decd7800ef309f3241e77d538f (patch)
tree6b5f3e8a2c644386f6569b009237ee63040bcde2 /svtools
parent7cbeac07d21413443889e6ee777a428782e746ae (diff)
loplugin: unused variables
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/extcolorcfg.cxx1
-rw-r--r--svtools/source/contnr/imivctl1.cxx1
-rw-r--r--svtools/source/contnr/svimpbox.cxx1
-rw-r--r--svtools/source/control/ruler.cxx2
-rw-r--r--svtools/source/misc/transfer.cxx2
-rw-r--r--svtools/source/toolpanel/paneltabbar.cxx2
6 files changed, 0 insertions, 9 deletions
diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx
index 98d361d3d515..9235317f6c36 100644
--- a/svtools/source/config/extcolorcfg.cxx
+++ b/svtools/source/config/extcolorcfg.cxx
@@ -418,7 +418,6 @@ void ExtendedColorConfig_Impl::Commit()
return;
const ::rtl::OUString sColorEntries(RTL_CONSTASCII_USTRINGPARAM("Entries"));
const ::rtl::OUString sColor(RTL_CONSTASCII_USTRINGPARAM("/Color"));
- const ::rtl::OUString sDefaultColor(RTL_CONSTASCII_USTRINGPARAM("/DefaultColor"));
::rtl::OUString sBase(RTL_CONSTASCII_USTRINGPARAM("ExtendedColorScheme/ColorSchemes/"));
const ::rtl::OUString s_sSep(RTL_CONSTASCII_USTRINGPARAM("/"));
sBase += m_sLoadedScheme;
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 6dcc15a25720..b84ab9ed9308 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -2654,7 +2654,6 @@ void SvxIconChoiceCtrl_Impl::SetDefaultTextSize()
if( nDX <= 0 )
nDX = 2;
- String aStrDummy( RTL_CONSTASCII_USTRINGPARAM( "X" ) );
long nHeight = pView->GetTextHeight();
if( nDY < nHeight )
nDY = nHeight;
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 4888fbd30652..1c37d6de2943 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -951,7 +951,6 @@ void SvImpLBox::Paint( const Rectangle& rRect )
nFlags &= (~F_DESEL_ALL);
pView->SetClipRegion();
- Rectangle aRect;
if( !(nFlags & F_PAINTED) )
{
nFlags |= F_PAINTED;
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 99a8697472b4..fcc203759157 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -711,8 +711,6 @@ void Ruler::ImplDrawBorders( long nMin, long nMax, long nVirTop, long nVirBottom
void Ruler::ImplDrawIndent( const Polygon& rPoly, sal_uInt16 nStyle )
{
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
- Point aPos1;
- Point aPos2;
if ( nStyle & RULER_STYLE_INVISIBLE )
return;
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx
index 97988ce067ca..55e72daa1981 100644
--- a/svtools/source/misc/transfer.cxx
+++ b/svtools/source/misc/transfer.cxx
@@ -1398,8 +1398,6 @@ void TransferableDataHelper::FillDataFlavorExVector( const Sequence< DataFlavor
// add, if it is a UTF-8 byte buffer
if( xMimeType->hasParameter( aCharsetStr ) )
{
- const ::rtl::OUString aCharset( xMimeType->getParameterValue( aCharsetStr ) );
-
if( xMimeType->getParameterValue( aCharsetStr ).equalsIgnoreAsciiCase( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "unicode" )) ) ||
xMimeType->getParameterValue( aCharsetStr ).equalsIgnoreAsciiCase( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "utf-16" )) ) )
{
diff --git a/svtools/source/toolpanel/paneltabbar.cxx b/svtools/source/toolpanel/paneltabbar.cxx
index 1c08d59d303d..f7922a3b30ce 100644
--- a/svtools/source/toolpanel/paneltabbar.cxx
+++ b/svtools/source/toolpanel/paneltabbar.cxx
@@ -554,8 +554,6 @@ namespace svt
ItemDescriptor aItem;
aItem.pPanel = pPanel;
- Rectangle aContentArea;
-
const Size aCompleteSize( impl_calculateItemContentSize( pPanel, TABITEM_IMAGE_AND_TEXT ) );
const Size aIconOnlySize( impl_calculateItemContentSize( pPanel, TABITEM_IMAGE_ONLY ) );
const Size aTextOnlySize( impl_calculateItemContentSize( pPanel, TABITEM_TEXT_ONLY ) );