diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-24 17:06:47 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-24 21:20:19 +0200 |
commit | 3d385fefb9013f31ba3f7b909623afd5fa6b6cdc (patch) | |
tree | 58426d659bbf10be9ba76ed8d57a3de4b3a7ac04 | |
parent | e4f7907c0a69a450c13031b3c9539191643c9491 (diff) |
cppcheck: unreadVariable
Change-Id: If3d480bf3032ec2bd2edc62bb73dd93b00c2cbe7
-rw-r--r-- | vcl/source/window/splitwin.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx index b2882202aff9..be04473b45d1 100644 --- a/vcl/source/window/splitwin.cxx +++ b/vcl/source/window/splitwin.cxx @@ -634,14 +634,6 @@ static void ImplCalcSet( ImplSplitSet* pSet, } } } - else - { - for ( i = 0; i < nItems; i++ ) - { - if ( !(pItems[i].mnBits & SWIB_INVISIBLE) ) - nCurSize += pItems[i].mnPixSize; - } - } // calculate maximum size if ( bRows ) |