diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 14:09:58 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 14:09:58 +0000 |
commit | 9da7760c17612bf4bc7bd376209b744c904efdbc (patch) | |
tree | fb6ea91aae3b9b9a31bac066170b8680d62ea217 /svtools/source/contnr/svimpbox.cxx | |
parent | 19d62fe9ef12fc8a74f53799c87cd2d02ab51d0c (diff) |
INTEGRATION: CWS sb59 (1.49.64); FILE MERGED
2006/07/25 08:52:52 sb 1.49.64.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'svtools/source/contnr/svimpbox.cxx')
-rw-r--r-- | svtools/source/contnr/svimpbox.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index 178faf0d447d..f232c075b763 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -4,9 +4,9 @@ * * $RCSfile: svimpbox.cxx,v $ * - * $Revision: 1.50 $ + * $Revision: 1.51 $ * - * last change: $Author: obo $ $Date: 2006-09-17 14:33:54 $ + * last change: $Author: obo $ $Date: 2006-10-12 15:09:58 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -197,7 +197,7 @@ short SvImpLBox::UpdateContextBmpWidthVector( SvLBoxEntry* pEntry, short nWidth USHORT nDepth = pView->pModel->GetDepth( pEntry ); // initialize vector if necessary - USHORT nSize = aContextBmpWidthVector.size(); + std::vector< short >::size_type nSize = aContextBmpWidthVector.size(); while ( nDepth > nSize ) { aContextBmpWidthVector.resize( nSize + 1 ); @@ -1456,7 +1456,7 @@ void SvImpLBox::FillView() void SvImpLBox::ShowVerSBar() { BOOL bVerBar = ( pView->nWindowStyle & WB_VSCROLL ) != 0; - ULONG nVis; + ULONG nVis = 0; if( !bVerBar ) nVis = pView->GetVisibleCount(); if( bVerBar || (nVisibleCount && nVis > (ULONG)(nVisibleCount-1)) ) |