diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-02-25 05:41:44 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-02-25 05:43:16 +0100 |
commit | 76b3e61bb4ac66decd7800ef309f3241e77d538f (patch) | |
tree | 6b5f3e8a2c644386f6569b009237ee63040bcde2 /vcl/source | |
parent | 7cbeac07d21413443889e6ee777a428782e746ae (diff) |
loplugin: unused variables
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/button.cxx | 1 | ||||
-rw-r--r-- | vcl/source/edit/texteng.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/image.cxx | 1 | ||||
-rw-r--r-- | vcl/source/window/builder.cxx | 4 |
4 files changed, 2 insertions, 6 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 4ce2748998cd..709c52daf4c0 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -1385,7 +1385,6 @@ void PushButton::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, Point aPos = pDev->LogicToPixel( rPos ); Size aSize = pDev->LogicToPixel( rSize ); Rectangle aRect( aPos, aSize ); - Rectangle aTextRect; Font aFont = GetDrawPixelFont( pDev ); pDev->Push(); diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx index 1ee609c38bd8..487d83e24970 100644 --- a/vcl/source/edit/texteng.cxx +++ b/vcl/source/edit/texteng.cxx @@ -2559,7 +2559,7 @@ sal_Bool TextEngine::Read( SvStream& rInput, const TextSelection* pSel ) rtl::OString aLine; sal_Bool bDone = rInput.ReadLine( aLine ); - rtl::OUString aTmpStr(rtl::OStringToOUString(aLine, rInput.GetStreamCharSet())), aStr; + rtl::OUString aTmpStr(rtl::OStringToOUString(aLine, rInput.GetStreamCharSet())); while ( bDone ) { aSel = ImpInsertText( aSel, aTmpStr ); diff --git a/vcl/source/gdi/image.cxx b/vcl/source/gdi/image.cxx index 3189ba4fc2ac..f0f205b2d73c 100644 --- a/vcl/source/gdi/image.cxx +++ b/vcl/source/gdi/image.cxx @@ -347,7 +347,6 @@ ImageList::ImageList( const ResId& rResId ) : pResMgr->Increment( sizeof( RSHEADER_TYPE ) ); sal_uLong nObjMask = pResMgr->ReadLong(); - const String aPrefix( pResMgr->ReadString() ); ::boost::scoped_ptr< Color > spMaskColor; if( nObjMask & RSC_IMAGE_MASKCOLOR ) diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index a73ca80095aa..d46df66c5aed 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -445,7 +445,6 @@ void VclBuilder::handleTranslations(xmlreader::XmlReader &reader) { xmlreader::Span name; int nsId; - OString sType; OString sID, sProperty; @@ -1606,7 +1605,7 @@ void VclBuilder::handleRow(xmlreader::XmlReader &reader, const OString &rID, sal if (name.equals("col")) { bool bTranslated = false; - OString sProperty, sValue; + OString sValue; sal_uInt32 nId = 0; while (reader.nextAttribute(&nsId, &name)) @@ -1835,7 +1834,6 @@ void VclBuilder::handleMenuChild(PopupMenu *pParent, xmlreader::XmlReader &reade { xmlreader::Span name; int nsId; - OString sType; int nLevel = 1; while(1) |