diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-29 20:56:22 +0200 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-10-07 15:57:35 +0200 |
commit | 82e6e14478da5285f43263f556fcc7e353f590a6 (patch) | |
tree | 9d9cab721a8b522e4263fcd04a9c82793b790584 /tools | |
parent | 03d21764bc2604bda65e9c5916475f4f96b07320 (diff) |
cppcheck reduce scope of var in tools/.. table.cxx
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/memtools/table.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/memtools/table.cxx b/tools/source/memtools/table.cxx index e9c2239b1c82..baec6776e410 100644 --- a/tools/source/memtools/table.cxx +++ b/tools/source/memtools/table.cxx @@ -121,11 +121,11 @@ sal_Bool Table::Insert( sal_uIntPtr nKey, void* p ) { if ( nCount <= 24 ) { - sal_uInt16 n = 0; sal_uInt16 nTempCount = (sal_uInt16)nCount * 2; if( void** pNodes = Container::ImpGetOnlyNodes() ) { + sal_uInt16 n = 0; sal_uIntPtr nCompareKey = (sal_uIntPtr)(*pNodes); while ( nKey > nCompareKey ) { |