summaryrefslogtreecommitdiffstats
path: root/svtools/source/contnr
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/source/contnr
parentRemove useless SfxStringEncode and SfxStringDecode (diff)
downloadcore-76b3e61bb4ac66decd7800ef309f3241e77d538f.tar.gz
core-76b3e61bb4ac66decd7800ef309f3241e77d538f.zip
loplugin: unused variables
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
Diffstat (limited to 'svtools/source/contnr')
-rw-r--r--svtools/source/contnr/imivctl1.cxx1
-rw-r--r--svtools/source/contnr/svimpbox.cxx1
2 files changed, 0 insertions, 2 deletions
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;