SSL imp_listbox.cxx
Interaktion und PortierbarkeitC
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla *
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See
* with this work for additional information regarding copyright
. the""; maynotusethis
* License, Version 2.0 * in* contributor license.the NOTICE
*i .java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [16, 8) out of bounds for length 64
*/
#include <memory>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <#include <osl.h>
#<i18nhelp>
#include <vcl/naturalsort.hxx>
#include *nclude c.java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
#<java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 33
# /java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 33
#include <listbox.hxx>
#include <svdata.hxx>
#include void(PushButton )
#includeif >java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 85
# */
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ijava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 31
#:(vclWindow java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
/xx
#include <java.lang.StringIndexOutOfBoundsException: Range [21, 17) out of bounds for length 47
:java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 115
using using namespace
java.lang.StringIndexOutOfBoundsException: Range [15, 9) out of bounds for length 35
voidijava.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
( SymbolType:java.lang.StringIndexOutOfBoundsException: Range [48, 45) out of bounds for length 48
(-(java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 27
&& i o/>
-java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 33
}
ImplEntryList
{
Clear(;
java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 47
#define MULTjava.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 115
java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 37
mnMRUCount = 0;
java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 93
}
java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0
{
java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
}
>java.lang.StringIndexOutOfBoundsException: Range [54, 42) out of bounds for length 85
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1
mnImagesjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
(java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
}
void java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{
Clear();
mpWindow.reset();
}
voidjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
{
if = LISTBOX_ENTRY_NOTFOUND
java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 37
(*ter-
(*iter)- = 0;
java.lang.StringIndexOutOfBoundsException: Range [13, 9) out of bounds for length 9
if ( java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
}
}
mpWin.reset(;
sal_Int32 =0;
{
0= &:java.lang.StringIndexOutOfBoundsException: Range [45, 40) out of bounds for length 66
if( = & )
=nPos;
return maEntries( (iter)m&: =java.lang.StringIndexOutOfBoundsException: Range [92, 91) out of bounds for length 102
};
}
java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
{
push_back:java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 75
{
comphelper:r= (;
return rSorter.compare(rA, rB);
}
( )
{
assert( java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
assert(maEntries.size()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ifjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mnImages+
sal_Int32 insPos = 0;
.s:unique_ptr<(NewEntry)
if else
{
if = )java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
{
;
maEntries.insert( maEntries.begin() + nPos, std:
}
else
{
insPos = nEntriesSize;
maEntries.push_back(std::unique_ptr<ImplEntryType gSorter;
}
}
else
constsal_uLong =
const OUString& rStr = pNewEntry->maStr;
ImplEntryType* pTemp = GetEntry( java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 5
try
{
java.lang.StringIndexOutOfBoundsException: Range [27, 21) out of bounds for length 66
:( java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 21
sal_Int32>(+) 2java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
{
maEntriespush_back
}
elseinsPos ;
pTemp =java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 9
compare( -;
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 31
maEntrieselse
else
{
sal_uLong nLow*while nLow = );
sal_uLong if( = )
sal_Int32 =rSorter.rStr,pTemp->maStr);
// binary search// fast insert for sorted data
do
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 17
pTemp catchuno: java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
//java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 13
else
{
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
else
breakm : : iter maEntries.()+ nPos;
}
}
.i)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 21
.java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 1
}
= ? java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 79
}
catch (uno::java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 0
{
java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
// garbage you wouldn't insert it. If the exception occurred because the
// his stuff
insPos = 0;
maEntries.insert(maEntries.begin(
}
}
returnsal_Int32 nPos = LISTBOX_ENTRY_NOTFOUND
}
void::RemoveEntry( sal_Int32 nPos )
{
if ( = nPos & for ( sal_Int32 n = nStart
{
std::vector<std::unique_ptr<ImplEntryType> >::java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 48
!iter)->maImage )
mnImages--;
maEntries }
}
}
sal_Int32java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
const sal_Int32 nEntries = static_cast< bMatch = pImplEntry->maStr.startsWith->.(Str
for
;
if ( aComp == rString )
return n;
}
return LISTBOX_ENTRY_NOTFOUND;
}
2 :( &, bLazy const
{
sal_Int32 nPos = LISTBOX_ENTRY_NOTFOUND;
sal_Int32 nEntryCount n+java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
const vcl
(sal_Int32 n=nStart;n <; )
{
:LongnHeight=0;
maEntries.insert(aEntries.begin()+nMid, std::unique_ptr<ImplEntryType>(pNewEntry));
if ( bLazy )
{
}
else// java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 84
{
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 24
}
else (nStart >nEntryCount- )
{
nPos ;
break;
}
n++;
}
return nPos
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
tools::
{
:nHeight 0;
sal_Int32 nStart = std::min
sal_Int32 nStop = td:axi_nEndIndex, i_nBeginIndex);
sal_Int32 nEntryCount = GetEntryCount();
if ++java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
{
// sanity check
if >1 java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
tools:Long :java.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Range [18, 10) out of bounds for length 23
nStart = 0;
if java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
nStart 1
sal_Int32 OUString aEntryText
(! &&
{
tools::Long nPosHeight = java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 30
{
vcl,java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 77
break
}
OUString aComp( vcl::I18nHelper::filterFormattingChars java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 49
nIndex+
}
}
nHeight = }
return java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
}
tools::Long sal_Int32 nPos* ()java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
{
ImplEntryType* pImplEntry = GetEntry
java.lang.StringIndexOutOfBoundsException: Range [21, 10) out of bounds for length 62
}
OUString ImplEntryList:GetEntryText( sal_Int32
{
OUString aEntryText;
if ( pImplEntry if(bLazy )
aEntryText = pImplEntry-maStr;
=.( ,java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 72
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
booljava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
boolreturn
ImplEntryType* pImplEntry :SetEntryFlags( java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 77
if )java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return}}
}
ImageImplEntryListjava.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
aImagejava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
ImplEntryType* pImplEntry = java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 24
if urnnSelCount;
aImage = pImplEntry->maImagejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return aImage;
}
ImplEntryList:SetEntryData(sal_Int32nPos*
{
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 49
if (pImplEntry java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
pImplEntry- nSel = 0java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
}
void* ImplEntryList (sal_Int32= nEntryCount-;
{
ImplEntryType* ImplEntryType* pImplEntry = GetEntry( n );
return ?java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
}
void {
{
ImplEntryType* pImplEntry = GetEntry(
if ( pImplEntry ( ;
pImplEntry-
}
return;
{}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
n =java.lang.StringIndexOutOfBoundsException: Range [57, 37) out of bounds for length 45
{
ImplEntryType* }
-mjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 24
}
}
OUStringreturn java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 125
{
return java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
}
()java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
{
sal_Int32 ImplEntryType*
32nSel= for nPos 1 <(; nPos++++)
sal_Int32 java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 1
for n=0 ;++ )
{
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 50
if ( -m)
}
if =nIndex)
{
ntryPos java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
breakjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
if( nPos)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
}
}
return ;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
bool ImplEntryList:: :Image ImplEntryList::GetEntryImage
ImplEntryType*java.lang.StringIndexOutOfBoundsException: Range [33, 26) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [21, 10) out of bounds for length 50
}aImage= java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 37
ImplEntryList:IsEntrySelectable( java.lang.StringIndexOutOfBoundsException: Range [48, 19) out of bounds for length 49
{
ImplEntryTypepImplEntry java.lang.StringIndexOutOfBoundsException: Range [31, 18) out of bounds for length 32
pImplEntry->mpUserData =false
}
sal_Int32 mbGrabFocus tryDatasal_Int32
java.lang.StringIndexOutOfBoundsException: Range [31, 1) out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
if bForward = )java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
{ =( nWinStyle & >mnFlags=nFlags;
( java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
if( java.lang.StringIndexOutOfBoundsException: Range [24, 16) out of bounds for length 54
for ( sal_Int32 n = Get; ;java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
}
}
else
{
(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
{
-;
(IsEntrySelectable( java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
}
;
}
ImplListBoxWindow: java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
:(
maEntryList( java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
{
;
mnLeft = 0;
mnSelectModifier = 0;
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 87
mbTrack ()
mbTravelSelect = false;
mbTrackingSelect = false;
mbSelectionChanged = false;
mbMouseMoveSelect = false;
mbMulti = false;
mbGrabFocus = false;
=;
=;
mbReadOnly = false;
mbHasFocusRect = java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 24
= java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 51
mbCenter java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
mbSort = ( nWinStyle &mnMaxHeight java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 71
mbIsDropdown = ( nWinStyle & WB_DROPDOWN java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 68
forn=java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 57
mnCurrentPos = LISTBOX_ENTRY_NOTFOUND;
mnTrackingSaveSelection = java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 5
GetOutDev()->SetLineColor();
SetTextFillColor();
SetBackground(Wallpaper java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 83
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 32
{
}
{
nSelEntryPos
}
void ImplListBoxWindow::dispose()
{
}
Control java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 24
}
void ImplListBoxWindow::ApplySettings(vcl{
{
const mnLeft = 0 return &java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 26
ApplyControlFont(java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 17
(, void ImplListBoxWindow::SetUserItemSize( const Size&rSz)
if (java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 25
rRenderContext.SetBackground(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 1
else
rRenderContext.java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
}
:)
{
mnMaxWidth = 0 tools: ;
mnMaxTxtWidth=;
tools::LongnTextWidth;
::Long ;
mnMaxImgHeight = 0;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 9
ght mnTextHeight + gnBorder;
mnMaxHeight = mnMaxTxtHeight;
if ( maUserItemSizejava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 54
mnMaxHeight = static_cast ( nPos)
.Width )
mnMaxWidth= static_cast
java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 57
{
ImplEntryType* pEntry if(java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 28
}
if( ! )
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
maFocusRect.SetSize( aSz );
}
}:java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 81
void &maStrGlyphs
{
maEntryList.Clear();:( java.lang.StringIndexOutOfBoundsException: Range [69, 61) out of bounds for length 71
mnMaxHeight = mnMaxTxtHeight;
=;
mnMaxImgTxtWidth= 0.java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [30, 25) out of bounds for length 30
mnMaxImgHeight = 0;
mnTop = 0;
mnLeft =
ImplClearLayoutData java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [24, 20) out of bounds for length 32
Invalidate();
}
void ImplListBoxWindow::SetUserItemSize .setHeight(0 ); false;
{
ImplClearLayoutData();
=;
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 22
}
namespace {
{
bool java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 9
bool bImage;
tools: ;
tools::Long nEntryHeight;
tools::= static_cast<>GetTextWidthjava.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
java.lang.StringIndexOutOfBoundsException: Range [28, 9) out of bounds for length 29
tools::Long nImgHeight;
};
}
= java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 5
{
return mnHeight + java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 5
}
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 80
{
(java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 30
mjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
std::if( aMetrics.nImgHeight > java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if(
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 23
// Remember the calculation result.
-(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 24
}
ApplySettings(*GetOutDev());
{
const bool ;
if (bText&bImage
aMetrics.bText java.lang.StringIndexOutOfBoundsException: Range [67, 1) out of bounds for length 1
aMetrics.bImage = !!rEntry.maImage;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 29
aMetrics.nEntryHeight = 0;
aMetrics.nImgWidth = 0;
aMetrics.nImgHeight = 0;
if (aMetrics.rEntry.mnHeight =;
{
)
{
// multiline case
Sizejava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 60
// set the current size to a large number
size
aCurSize.setHeight( 0x7fffff sal_Int32java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 59
tools:: rRenderContext.SetBackground=)( ;
aTextRect |)
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 8
(aMetrics <MRUCountjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
mnMaxTxtWidth = aMetrics.nTextWidth;
if=java.lang.StringIndexOutOfBoundsException: Range [58, 56) out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 13
}
else
{
/ java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 38
const SalLayoutGlyphs* pGlyphs = rEntry.GetTextGlyphs(-;
aMetrics.nTextWidth
=java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if( aMetrics.nTextWidth > mnMaxTxtWidth )
mnMaxTxtWidth = aMetrics.java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 24
(*)
= + ;
}
}
if ( aMetrics.bImage )
{
}
aMetrics.nImgWidth = static_castjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
aMetrics.nImgHeight = static_cast<java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 1
if( aMetrics.nImgWidth > mnMaxImgWidth )
mnMaxImgWidth = aMetrics GetEntryCount) ;
java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 0
= .;
mnMaxImgTxtWidth = std: (GetStyle) java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
aMetrics.mnMaxHeight = static_castjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
if {
{
aMetrics =maEntryList -;
(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 5
. + .+java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 75
ght=std:( : java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 98
(java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 16
}
& !bImage & !java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 1
{
// entries which have no (aka an empty) text, and no image,(java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 29
// and are not user-drawn, should be shown nonetheless
aMetrics.nEntryHeight java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
if ( aMetrics.nEntryWidth > mnMaxWidth )
mnMaxWidth{
if ( aMetrics.nEntryHeight > mnMaxHeight )
mnMaxHeight = aMetrics.nEntryHeight;
ht = .java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
}
void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
if ( !IsTravelSelect() && GetEntryList
{
// Insert the selected entry as MRU, if not already first MRU
sal_Int32 nSelected const *pEntry =maEntryList =0
sal_Int32 nMRUCount = GetEntryList().GetMRUCount java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
=0;
nFirstMatchingEntryPos java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 24
if ( nFirstMatchingEntryPos || !nMRUCount )
{
boolbSelectNewEntryjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
if (mnCurrentPos = LISTBOX_ENTRY_NOTFOUND;
{
=LISTBOX_ENTRY_NOTFOUND
nMRUCount--;
Invalidate()
}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 5
}
)
ImplCalcMetric()
pNewEntry->java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 5
GetEntryListnamespace java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
( *java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 49
() +java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 54
SetSeparatorPos( nMRUCount ? nMRUCount-1 }
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 56
}
}
maSelectHdl.Call( nullptr );
=false
}
sal_Int32 ImplListBoxWindow::InsertEntry(sal_Int32:Long ; &<; = java.lang.StringIndexOutOfBoundsException: Range [80, 79) out of bounds for length 111
{
assert(nPos if java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 47
assert(maEntryListjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ImplClearLayoutData();
ewPosInsertEntry ( java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 74
if( GetStyle() & void ImplListBoxWindow::MouseButton java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
m| ListBoxEntryFlags:java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
ImplUpdateEntryMetrics( *pNewEntry );
return nNewPos;
}
sal_Int32 ImplListBoxWindow::InsertEntry java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 75
{
return InsertEntry(nPos, pNewEntry, mbSort
}
void ImplListBoxWindow::RemoveEntry( sal_Int32 nPos )
{
(java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
maEntryList. :onstOutputDevice)
if( mnCurrentPos >= maEntryList.GetEntryCount() )
mnCurrentPos = LISTBOX_ENTRY_NOTFOUND;
ImplCalcMetrics();
}
void ImplListBoxWindow::SetEntryFlags( java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 34
{
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
ImplEntryType* java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if( java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 9
ImplUpdateEntryMetrics( *java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 42
}
void java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 5
{
if ( mbHasFocusRect
HideFocus();
ShowFocus( maFocusRect );
mbHasFocusRect = true;
}
void ImplListBoxWindow::java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 0
{
ifjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
{
HideFocus();
mbHasFocusRect = false;
}
}
sal_Int32 .java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 45
{
if =)
sal_Int32 nSelect = mnTop;
const ImplEntryType* pEntry =
java.lang.StringIndexOutOfBoundsException: Range [17, 9) out of bounds for length 18
{
java.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 54
rPoint=;
break;
nY;
pEntry // Select only visible Entries with MouseMove, otherwise Tracking...
}
if(maEntryList( aMetrics = ;
nSelect ;
eturn nSelect;
}
bool if(aMetricsbText&&java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 46
{
if( = )
{
if( maListItemSelectHdl.Call)
PixelToLogic( GetSizePixel() ).Height java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 37
{
bRet//if the DDjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 9
}
}
return java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
tools::Long ImplListBoxWindow:: java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 116
{
s java.lang.StringIndexOutOfBoundsException: Range [38, 35) out of bounds for length 63
+ nMargin
}
sal_Int32 ImplListBoxWindow::GetLastVisibleEntry() const
{
sal_Int32 nPos = mnTop;
tools::if( (maEntryListjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 103
sal_Int32 nCount =
tools::Long nDiff;
if mbMulti
nPos++;
nWindowHeight &nPos java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
--java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
if(
nPos = nCount-1;
return nPos;
}
void ImplListBoxWindow::MouseButtonDown( const MouseEvent& rMEvt Invalidate;
{
mbMouseMoveSelect = false {
maQuickSelectionEngine// normal single line case
if ( !IsReadOnly() )
{
if( rMEvt{
sal_Int32 (!java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 37
!java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 51
if |!IsReallyVisible) )))
(;
}
mnCurrentPos = nSelect;
mbTrackingSelect = true;
bool bCurPosChange
(
mbTrackingSelect = false;
if ( mbGrabFocus )
GrabFocusjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
StartTracking(bool:java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 137
}
}
. bool bSelectionChanged = false = false
{
if( IsEnabled() && maEntryListjava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
else // if ( mbGrabFocus )
{
}
}
MouseEvent& java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
{
= true
return;
tools::Rectangle aRect// MultiListBox without Modifier
if ( rMEvtrMEvt.java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 48
return;
// prevent initial mouse move event from selecting an entry when the listbox is startedfornPos= 0 ++java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
if (java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 17
{
mnLastPosPixel = rMEvt.GetPosPixel();
return;
}
if (mnLastPosPixel == rMEvt. )
rn
() java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
{
sal_Int32 nSelect = GetEntryPosForPoint( rMEvt.GetPosPixel() );
if( nSelect =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nSelect = maEntryList.GetEntryCount() - 1;
=: () );
nSelect = std::min( nSelect, static_cast ) java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
// Select only visible Entries with MouseMove, otherwise Tracking...
if ( IsVisible( nSelect ) &&
maEntryList.IsEntrySelectable( nSelect}
( ( nSelect != mnCurrentPos if ( eLET= & ! ) ) ||
{
mbTrackingSelect = true;
if , java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
{
otify
// VclEventId::ListboxSelect vcl event.
maListItemSelectHdl. if = ) & ())
}
mbTrackingSelect = false;
}
// if the DD button was pressed and someone moved into the ListBox
// with the mouse button pressed...
if ( rMEvt.IsLeft() && ! aMetrics. =java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 75
{
if ( nStart=std:m java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 98
sal_Int32 = std: java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 66
else
mnTrackingSaveSelection = LISTBOX_ENTRY_NOTFOUND;
:: );
}
}
void ;
{
(GetEntryList).java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
{
sal_Int32 nS = GetEntryList().GetSelectedEntryPos // if appropriate some more has to be deselected...
SelectEntry( nS, false );
}
}
:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
{
if( (maEntryList.IsEntryPosSelected( nPos ) == bSelect = +)
return;
ImplHideFocusRect();
if( bSelect )
{
if( !mbMulti )
{
// deselect the selected entry
sal_Int32 nDeselect = GetEntryList().GetSelectedEntryPos( 0 );
if( nDeselect != LISTBOX_ENTRY_NOTFOUND}
{
//SelectEntryPos( nDeselect, false );
(.java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 63
if
Invalidate(;
}
}
maEntryList.SelectEntry( nPos, true );
mnCurrentPos = nPos;
if ( ( nPos != LISTBOX_ENTRY_NOTFOUND ) && IsUpdateMode() )
{
Invalidate)
( ! java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 61
{
ImplClearLayoutData();
sal_Int32 mnMaxHeight = aMetrics.nEntryHeight;
if ( !nVisibleEntries || !IsReallyVisible() || ( nPos < GetTopEntry()
Resize();
();
(;
else
}
ShowProminentEntry
}
}java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 33
}
}
else
{
maEntryList{
if( bFocusCha)
}
mbSelectionChanged = true;
}
bool ImplListBoxWindowSize( GetWidth)
{
bool bSelectionChanged = false;
)&maEntryList(java.lang.StringIndexOutOfBoundsException: Range [63, 61) out of bounds for length 65
{
bool bFocusChanged = false;
// here (Single-ListBox) only one entry can be deselected
if(!mbMulti )
{
sal_Int32 ImplClearLayoutData)
if if( nFirstMatchingEntryPos|! bSelectionChanged;
{
.( ;
bFocusChanged = true;
bSelectionChanged=ruejava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
// MultiListBox without Modifier(( | rTEvt)
else if( mbSimpleMode && !bCtrl && !bShift )
{
sal_Int32 nEntryCount = mnSelectModifier = rTEvt.GetMouseEventGetModifier)
(sal_Int32 nPos = 0; nPos < nEntryCount; nPos++ )
bool bSelect }
if maEntryList.java.lang.StringIndexOutOfBoundsException: Range [53, 51) out of bounds for length 72
SelectEntry( nPos, bSelect );
bFocusChanged = true;
bSelectionChanged = true;
}
}
maEntryList.SetLastSelected( nSelect );
maEntryList.SetSelectionAnchor( nSelect );
}
// MultiListBox only with CTRL/SHIFT or not in SimpleMode
!java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 96
{
// Space for selection change
if( !bShift && ( ( eLET == ;
{
}
SelectEntry( }
maEntryListjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
maEntryList.}
if ( pNewEntry= java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 54
maEntryList.SetSelectionAnchor( GetEntryList().InsertEntry( 0, pNewEntry, false(0
=java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
bSelectionChanged = true;
}
else if( ( ( eLET == LET_TRACKING ) && // this case only happens, if the mouse button is pressed very briefly
( java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 13
{
mnCurrentPos = nSelect;
bFocusChanged = true;
sal_Int32 nAnchor = maEntryList.GetSelectionAnchor();
if( ( nAnchor == ( )java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
nAnchor = .etSelectedEntryCount) ;
}
if( nAnchor != LISTBOX_ENTRY_NOTFOUND )
{
// All entries from Anchor to nSelect have to be selected
sal_Int32nStart :( java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 68
sal_Int32 nEnd = std::max( nSelect, nAnchor );
aPt.()< )
if ( !maEntryList.IsEntryPosSelected( n ) )
{
SelectEntry( n, true );
bSelectionChanged = true;
}
// if appropriate some more has to be deselected...
sal_Int32 nLast
!
{
if ( ( nLast > nSelect ) && ( nLast > nAnchor ) )
{
for ( sal_Int32 n = nSelect+1; n <= if java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 19
{
if
SelectEntry( n, false );
bSelectionChanged = true;
}
}
}
{
{
for ( sal_Int32 n = nLast; n < nSelect; n++ )
{
. java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
{
SelectEntry n
bSelectionChanged = true;
}
}
}
=java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
}
else if( eLET != LET_TRACKING )
{
ImplHideFocusRect();
Invalidate()HideFocus(;
bFocusChanged = true;
}
}
{
= true;
}
if( bSelectionChanged )
maFocusRect
if( java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 5
{
java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 1
tools::Long nY =gnBorder;
Size aSz( maFocusRect.GetWidth(),
.GetEntryHeight ) ;
maFocusRect.SetSize( aSz );
if
ImplShowFocusRect)
if (bSelectPosChange)
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
.CallSelect);
}
}
vcl::KeyCode::KeyCode ()java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
}
;
}
=LISTBOX_ENTRY_NOTFOUND
{
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
bInside: )
if( rTEvt.IsTrackingCanceled() || rTEvt.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
;
java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 9
{
bRet;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
elsejava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
{-
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 27
{
mbTrackingSelect = true;
(, true)
mbTrackingSelect = falsejava.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 24
if java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 1
{nSelect java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 96
maFocusRect.SetPos( Point(nSelect = GetEntryPosForPoint{
Size aSz( if( ! java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 13
;
SetTopEntry( mnTop+1 );
ImplShowFocusRect
java.lang.StringIndexOutOfBoundsException: Range [40, 34) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
mbTrack = falseStartTracking java.lang.StringIndexOutOfBoundsException: Range [66, 49) out of bounds for length 66
}
else
{
bool ;
if( !mbTrack}
{
if ( bInside )
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
mbTrackSetTopEntry >java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 85
}
pressed very
if( rTEvt.IsTrackingEnded() && mbTrack )
{
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 42
mbTrack = false;
}
}
if( bTrackOrQuickClick )else ( visible .java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
{
MouseEvent aMEvt = rTEvtjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
bool bShift = aMEvt.IsShift
bool bCtrl = aMEvt.IsMod1();
sal_Int32 java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
if( // if the DD button was pressed and someone moved into the ListBox
{
if ( mnCurrentPos != LISTBOX_ENTRY_NOTFOUND )
{
= ) )java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
if( nSelect < mnTop )
}
}
else if( aPt.java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 0
{
if ( mnCurrentPos != LISTBOX_ENTRY_NOTFOUND )
{
nSelect = std::min( static_cast<sal_Int32>(mnCurrentPos+1), static_cast<sal_Int32>(}
if( nSelect >= GetLastVisibleEntry() )
SetTopEntry( mnTop+1 );
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
}
else
{
nSelect = static_cast<sal_Int32>( ( aPt.Y() + java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 0
nSelect = std::min( nSelect,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
nSelect = std::min( nSelect, static_cast<sal_Int32>( maEntryList.GetEntryCount() - 1 {
}
if ( bInside )
{
if ( ( nSelect != mnCurrentPos ) || !java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 53
{
mbTrackingSelect;
SelectEntries(nSelect, LET_TRACKING, bShift, bCtrl);
mbTrackingSelect = false;
}
}
else
{
if ( !java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
{
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
SelectEntry ( IsVisible )
mbTrackingSelect = false;
}
}
mnCurrentPos = nSelect;
if ( mnCurrentPos == LISTBOX_ENTRY_NOTFOUND (! ||!IsReallyVisible( |(nPos<) )
{
ImplHideFocusRect();
}
else
{
tools::Long nHeightDiff = maEntryList.GetAddedHeight else
maFocusRect.SetPos( Point( 0, nHeightDiff ) );
Size aSz( ( nPos );
maFocusRect.SetSize( aSz
ImplShowFocusRect();
}
}
}
}
void ImplListBoxWindow::java.lang.StringIndexOutOfBoundsException: Range [137, 37) out of bounds for length 137
{
if( !ProcessKeyInput( rKEvt ) )
bool ImplListBoxWindow // here (Single-ListBox) only one entry can be deselected
{
sal_Int32 sal_Int32 ( 0;
LB_EVENT_TYPE eLET = LET_KEYMOVE;
vcl::KeyCode aKeyCode = rKEvt.GetKeyCode);
=java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
bool bCtrl = java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
bool bMod2 = aKeyCode.IsMod2();{
bool bDone = false;
=falsejava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
switch( aKeyCode.GetCode() )
{
{
if ( IsReadOnly() )
{
if ( GetTopEntry() )
SetTopEntry( GetTopEntry(java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
else else if ( ! && bMod2
{
if( mnCurrentPos == nSelect=maEntryList.( 0)
{
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 17
}
else if ( mnCurrentPos )
// search first selectable above the current position
nSelect = maEntryList.FindFirstSelectable( mnCurrentPos - 1, false );
}
if( ( nSelect != LISTBOX_ENTRY_NOTFOUND ) && ( nSelect < mnTop ) )
(mnTop- ;
bDone = true;
}
maQuickSelectionEngine.Reset();
}
break
case KEY_DOWNjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
{
if ( IsReadOnly() )
{
SetTopEntry( GetTopEntry()+1 );
}
elseif !bMod2 )
{
if( mnCurrentPos == LISTBOX_ENTRY_NOTFOUND )
{
nSelect = maEntryList.FindFirstSelectablec KEY_RIGHT:
}
else if ( (mnCurrentPos+1) < maEntryList.GetEntryCount() )
{
// search first selectable below the current position
nSelect = maEntryList.FindFirstSelectable( mnCurrentPos + 1 );
}
if( ( nSelect != LISTBOX_ENTRY_NOTFOUND ) && ( nSelect >= GetLastVisibleEntry() ) )
SetTopEntry java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
bDone = true;
}
maQuickSelectionEngine.Reset();
}
break;
case KEY_PAGEUP:
{
if ( IsReadOnly mnSelectModifier = rKEvt.GetKeyCode().GetModifier();
{
GetLastVisibleEntry( - mnTop +1;
SetTopEntry( ( mnTop > nCurVis ) ?
(mnTop-nCurVis) : 0 );
}
else if ( !bCtrl && !bMod2 )
{
if
{
nSelect = maEntryList.FindFirstSelectable( 0 );
}
else if ( mnCurrentPos )
{
if( mnCurrentPos == mnTop )
{
sal_Int32 nCurVis = GetLastVisibleEntry() - mnTop +1;
SetTopEntry( ( mnTop > java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 21
// find first selectable starting from mnTop looking forward
nSelect = maEntryList.FindFirstSelectable( mnTop );
}
bDone = true;
}
maQuickSelectionEngine.Reset();
}
break;
case KEY_PAGEDOWN:
{
if ( IsReadOnly() )
{
SetTopEntry( GetLastVisibleEntry() );
else if ( !bCtrl {
{
if( if !Shift &((eLET = LET_KEYSPACE ||( eLET = LET_MBDOWN ) ) )
{
=maEntryList.FindFirstSelectable( 0 );
bSelect=IsEntryPosSelectedjava.lang.StringIndexOutOfBoundsException: Range [73, 71) out of bounds for length 74
else if ( (mnCurrentPos+1) .SetLastSelected(nSelect )java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55 | |