Quelle svimpbox.cxx
Sprache: C
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ (pEntry ;
/*
* This file
* This java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
*void ::( java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
*
| - ;
* withm_nStyle =;
* ownership. The ASF licenses this file to you under the m_aSelEng.(true ;
"License")
= nullptr;
Licenseat:/..org//LICENSE20 java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
*/
#includejava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 42
#include <o3tl/safeint.hxx>
#include <vcl/svapp.hxx>
#include <vcl/ m_nCurUserEvent= nullptr )
include <vcl/help.hxx>
#include <vcl/settings.hxx>
#nclude vclcommandevent.java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
(
#include <memory>
#include <stack>
}
#include java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#include #/ *****************
include bitmapshlst>
#include <svimpbox.hxx>
#include <comphelper/{
#include (m_nFlags : )
# ->( }
#nclude <ools/.hxx
#include < }
#include <vcl/toolkit/java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 1
// #i27063# (pl), #i32300# (pb) never access VCL after DeInitVCL - also no destructors
DBG_ASSERT(m_bInVScrollHdl" handlerout- !);
Image* SvImpLBox::s_pDefExpanded = nullptr;
ntSvImpLBox:s_nImageRefCount=0;
SvImpLBox::SvImpLBox ;
: m_aScrBarBox
,
(false
, m_aEditIdle("SvImpLBox m_aEditIdle")
, (<crollBarjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
:Create ))
, m_aOutputSize(0, 0)
, (false
, m_aSelEng
, m_bInVScrollHdl = true
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
osl_atomic_increment(&s_nImageRefCount)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
m_pView=pLBView;
m_pTree = pLBTree;
m_aSelEng.SetFunctionSet( static_cast< m_aSelEng.SetFunctionSet( static_cast<FunctionSet
m_aSelEngExpandSelectionOnMouseMove );
SetStyle( java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 1
SetSelectionMode SelectionModeSingle)
SetDragDropMode (nDelta= 1 &pScrollBar=nullptr;
m_aVerSBar->SetScrollHdl( LINK( this, SvImpLBoxCursorDown(;
m_aHorSBar static_castsal_uInt16> )java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
m_aHorSBar-SetEndScrollHdl( ( ,SvImpLBox EndScrollHdl{
m_aVerSBar->SetEndScrollHdl( LINK( this, if( nDelta == 1 && pScrollBar->GetPageSize
m_aVerSBar- m_pView-nvalidate)
m_aVerSBar }
m_aHorSBar =false;
m_aHorSBar->java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
!java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
m_nHorSBarHeight = static_cast<short>(
=;
=java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
= nullptr
m_pCursorOld = nullptr;
m_pAnchor java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
0
;
m_nNodeBmpWidth = 0P(;
// button animation in listbox>)
=;
m_pActiveEntry = nullptr;
m_pActiveTab = nullptr;
m_nFlags = LBoxFlags::NONE;
m_aEditIdle. m_pView->Invalidate( )
m_aEditIdle.SetInvokeHandler( LINK(this,SvImpLBox,EditTimerCall) }
m_nMostRight = -1;
m_pMostRightEntry = nullptr;
m_nCurUserEvent = nullptr;
m_bUpdateMode = true;java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
m_bInVScrollHdl = false;
m_nFlags |= LBoxFlags::Filling;
m_bSubLstOpLR = false;
}
SvImpLBox::~SvImpLBox()
{
m_aEditIdle.Stop();
StopUserEvent();
if ( osl_atomic_decrement(&s_nImageRefCount) == 0 )
{
delete s_pDefCollapsed;
s_pDefCollapsedvoid :)
delete s_pDefExpanded;
s_pDefExpanded =
}
.();
m_aHorSBar;
m_aScrBarBox.java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
void if(java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 27
const css :L java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 57
if( m_pView->PaintImmediately();
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
// different Locale from the older one, drop it and force recreate
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 72
if Language! . |
aLocale.Country != rNewLocale.Country ||
aLocaleVariant=rNewLocale java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
();
}
if( ! m_pView->Scroll( ,:)
{
m_pStringSorter.reset(new comphelper:: )
=;
rNewLocale));
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
short java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
{
DBG_ASSERTjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ()
//returnjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
std:
*
{
1)
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 15
+java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 16
}
if( m_aContextBmpWidthVector.size() == nDepth )
{
m_aContextBmpWidthVector.resize( nDepth + 1 );
hVectorat()= 0;
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if( nContextBmpWidth < {
{
m_pView->PaintImmediately
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 5
}
else
return nContextBmpWidth newImage :ong=View>GetEntryHeight *static_cast<:Long>nRealDelta;
}
void SvImpLBox::UpdateContextBmpWidthVectorFromMovedEntry( SvTreeListEntry* pEntry )
{
assert(pEntry && "Moved Entry is invalid!");
SvLBoxContextBmp* pBmpItem = static_cast< SvLBoxContextBmp* >( java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
short <hort>pBmpItem-)(.();
short nColWidth = static_cast<short>(pBmpItem->java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 36
short =:(, &:)
UpdateContextBmpWidthVector( pEntry}
if( pEntry->java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
{
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 32
(pChild, firstchild invalid
do
{
UpdateContextBmpWidthVectorFromMovedEntry( pChild );
pChild
}eeListEntrypPrev m_pView>(,);
}
}
void SvImpLBox::java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 15
sal_uInt16 false)
ifjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return;
short if( nRealDeltanRealDelta=java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 39
if( nWidth m_pViewP)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
> =;
m_nFlags |= LBoxFlags::tools::Rectangle aArea( GetVisibleArea
m_pView->SetTabsjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
m_nFlags( java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
} java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 34
void SvImpLBox::SetStyle
{
m_nStyle = i_nWinStyle;
()
m_aSelEng >java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 43
}
tools nThumbPos=java.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 54
{
mbNoAutoCurEntry = b;
}
// don't touch the model any more
void *s_pDefCollapsed;
{
StopUserEvent();
m_pStartEntry = nullptr;
m_pAnchor = nullptr;
java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
m_pActiveEntry = nullptr;
m_pActiveTab=nullptr;
m_nMostRight
m_pMostRightEntry = nullptr;
// don't touch the cursor any more
if( m_pCursor )
&~;
if ->SetThumbPos(nThumbPos - nDelta );
m_pView->HideFocus();
=;
}
{
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
m_aVerSBar- (!>sVisible java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
Range(0, java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
m_aVerSBar->SetRange( aRange );
-:GetOutputSizePixel);
m_aHorSBar->Hide( =m_aVerSBar-etPageSize)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
: java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
aMapMode.SetOrigin( while(( > 0 &(Tmp+)>=nRange )
m_pView->Control::SetMapMode( aMapMode );
-java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
-SetSizePixel(izem_aOutputSize.bool:java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 67
>()>SetClipRegionjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
if GetUpdateMode( java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
m_pViewjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 5
m_nFlags |= if(bPageDown
-( &!_sVisible java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
->Hide();
m_aContextBmpWidthVector.clear();
CallEventListeners( VclEventId::ListboxItemRemoved );
}
// *********************************************************************
// Paint, navigate, scroll
// *********************************************************************
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
{
if( m_nFlags
{
(java.lang.StringIndexOutOfBoundsException: Range [55, 53) out of bounds for length 56
m_nFlags &= ~LBoxFlags::java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 27
}
}
// handler for vertical scrollbar
IMPL_LINKif &java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
," outpaces itself!)
tools::LongaRect }
ifaRect.SetBottom AdjustBottomm_pView>( ;
return;
// when only one row don't skip lines
if (pScrollBar-> ( aRect( java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 37
m_nFlags &= ~LBoxFlags whenflicker to avoided
m_bInVScrollHdl = true;
if( m_pView>a);
{
m_pView- I(*java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 58
>java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
}
if(}
{
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
CursorDown();
else
PageDown( static_cast<sal_uInt16>(nDelta) );
}
else
{
nDelta *= -1bHasFocusRect;
= 1 & >GetPageSize1)
CursorUp();
else
PageUp( }
}
m_bInVScrollHdl = (GetEntryLine ;
}
void SvImpLBox::CursorDown()
{
(java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
return;
SvTreeListEntry* pNextFirstToDraw = m_pView->NextVisible(m_pStartEntry);
if( pNextFirstToDraw )
{
m_nFlags &= ~LBoxFlags::Filling;
ShowCursor( false );
m_pView->PaintImmediately();
m_pStartEntry = pNextFirstToDraw
tools:ectangle java.lang.StringIndexOutOfBoundsException: Range [51, 30) out of bounds for length 51
- ,-,:java.lang.StringIndexOutOfBoundsException: Range [89, 88) out of bounds for length 91
();
ShowCursor( true: aOldClip>()GetClipRegionjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
m_pViewm_pView>GetOutDev)>();
}
}
void SvImpLBox::CursorUp()
{
if (!m_pStartEntry)
return; return;
SvTreeListEntry* // Sets cursor. When using SingleSelection, the selection is adjusted )
if( ! SvViewDataEntry =;
return;
m_nFlags=~java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 36
tools-(&
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 38
m_pView->
m_pStartEntry pPrevFirstToDraw
tools while(pEntry &pViewDataNewCur&!->IsSelectable)
if =m_pView-NextVisible(;
.djustBottom-nEntryHeight
m_pView->Scroll( 0,}
m_pView-> SvTreeListEntry* pOldCursor* pOldCursor m_pCursor;
ShowCursor true ;
m_pView->NotifyScrolled( java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
void SvImpLBox::if( m_bSimpleTravel
{
sal_uInt16nRealDelta=;
if( !nDelta >HideFocus)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
returnif(m_pCursor )
if (!m_pStartEntry)
return;
SvTreeListEntry*
if( pNext == m_pStartEntry )
return;
if (pV)
m_nFlags &= ~LBoxFlags::Filling;
m_pView->();
m_pStartEntry = pNext; (!bForceNoSelect &m_bSimpleTravel && !(m_nFlags & LBoxFlags::DeselectAll) && GetUpdateMode())
if( nRealDelta >= CallEventListenersjava.lang.StringIndexOutOfBoundsException: Range [62, 60) out of bounds for length 74
{
() ;
m_pView->PaintImmediately();
}
else
{
tools:(GetVisibleArea)
tools::Long nScroll = !m_nFlags&LBoxFlags:DeselectAll &!.)&&
-;
m_pView->java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 9
m_pView>( ,:: )
m_pView->PaintImmediately();
}
ShowCursor( true );{
m_pView->NotifyScrolled();
}
void ShowCursor(true )
{
sal_uInt16 nRealDelta = nDelta;
if( !java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 13
return;
if (!m_pStartEntry)
return;
SvTreeListEntry }
if( pPrev == m_pStartEntry )
return;
m_nFlags &= ~LBoxFlags::Filling;
ShowCursor( false );
m_pStartEntry (GetSelectionMode)=java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 86
=:java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
{
m_pView
>PaintImmediately();
}
else
{
tools::Long nEntryHeight = m_pView->GetEntryHeight();
aArea java.lang.StringIndexOutOfBoundsException: Range [48, 46) out of bounds for length 51
m_pView->PaintImmediately();
Scroll0,nEntryHeightnRealDelta,aArea,ScrollFlags:NoChildren);
m_pView-> m_pView->HideFocus
}
ShowCursor( true );
m_pView{
}
void SvImpLBox::KeyUp( bool bPageUp )
{
if( !m_aVerSBar->IsVisible() )
return;
tools::Long nDelta;
if( bPageUp )
nDelta = m_aVerSBar->GetPageSize();
else :Region aClipRegionGetClipRegionRect) );
nDelta
-java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 56
)
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 27
(nDelta < java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
return;
ShowVerSBar();
m_aVerSBar->SetThumbPos( nThumbPos - nDelta );
if( bPageUp )
( static_castshort() )java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
else
}
void SvImpLBox::KeyDown( bool bPageDown
{
if(!_>)
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
tools: ;
if( bPageDown )
nDelta = m_aVerSBar->GetPageSize() java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
else
nDelta = 1;
tools:: =m_aVerSBar>()java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 60
>( - ,aRect: )
tools::java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 8
((Delta>& (+)> nRange
nDelta--;
if( nDelta <= 0 )
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 15
~:Filling
m_aVerSBar->SetThumbPos( nThumbPos*:( &rPoint)
if( bPageDown
PageDown(m_pViewGetModel,":: everhappen tell f.@sun.om ! )
else
CursorDown();
}
:( tools: java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
{
if( !(m_nFlags & LBoxFlags// reliably :-\ ...
{
tools:: ;
aRect( ;
m_pView->Invalidate( aRect );
}
}
void SvImpLBox::InvalidateEntry
{
if( &LBoxFlags: java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
;
tools::java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
aRect.SetTop( nY );
aRect.SetBottom( nY )java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if( aRect.Top() > nMaxBottom )
return;
.Bottom)>nMaxBottomjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
aRect.SetBottom( nMaxBottom );
if ( -ItemCount)> 3 java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
// Perform full paint when flicker is to be avoided explicitly.
m_pView->Invalidate();
else
m_pView->Invalidate(aRect
}
void SvImpLBox::InvalidateEntry( aRect.SetRight( GetOutputSize().Width() -(.)X);
{SvLBoxContextBmp <*(-GetFirstItemSvLBoxItemType::ContextBmp));
if( GetUpdateMode() )
{
tools::Long nPrev = m_nMostRight;
SetMostRight( pEntry );
if( nPrev aRectAdjustLeft -GetWidth,Entry ;
ShowVerSBar(); AdjustLeft 4);// a little tolerance
}
=m_pView>().();
{
;
if( pEntry==m_pCursor java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
{
SvTreeListEntry : PointrPoint) const
ShowCursor( m_pView-)= | !java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 60
}
InvalidateEntry( GetEntryLine
(bHasFocusRect
ShowCursor( true );sal_uInt16
}
}
void SvImpLBox:: java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 18
{
if( m_pView->HasFocus() && m_pCursor
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
m_pView->:Long=Y(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
tools: ;
tools::Rectangle aRect = m_pView->GetFocusRect( m_pCursor ( 0|nY= /java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 56
vcl::Region aOldClip( m_pView->GetOutDev()->GetClipRegion());
vcl::Region aClipRegion( java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 12
m_pView->GetOutDev()
if( pEntry& !m_pCursor
m_pView->m_pView->SetEntryFocus( m_pCursor, false );
}
}
// Sets cursor. When using SingleSelection, the selection is adjusted.
void
{
SvViewDataEntry
if( java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
pViewDataNewCur= m_pView->GetViewDataEntry(pEntry);
if &
pEntry = pEntry java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
pViewDataNewCur &&
pViewDataNewCur->HasFocus() &&
pViewDataNewCur->IsSelected())
// TODO: LastVisible is not yet implemented!
=>( )
}
// if this cursor is not selectable, find first visible that is and use it
while( pEntry _aSelEngGetSelectionMode)=SelectionModeSingle
{
-java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 46
pViewDataNewCur
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
=;
if( m_pCursor && pEntry != m_pCursor )
aOrigin -GetMapMode)( ;
m_pView->SetEntryFocus( m_pCursor, falseaOrigin.(aOrigin.) 1) java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
if( aClipRect.AdjustBottom)
m_pView->java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 1
void SvImpLBox::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect)
}
m_pCursor = pEntry;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
{
if ( SvTreeListEntry=)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 46
t& java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 105
{
m_pView->Select( m_pCursor ) m_aVerSBar->SetThumbPos( 0 )
(:,)
}
// multiple selection: select in cursor move if we're not injava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 92
// Add mode (Ctrl-F8)
else if( GetUpdateMode() &&
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 34
{
m_pView> )
CallEventListeners java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 32
}
tools:LongnEntryHeight=-GetEntryHeight;
{
ShowCursor( true );
if (java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
CallEventListeners( VclEventId::java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 36
=java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
if( pEntry =(java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 46
{
DBG_ASSERT(m_aSelEng.GetSelectionMode() != SelectionMode::java.lang.StringIndexOutOfBoundsException: Range [0, 76) out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 56
}
}
m_nFlags &= ~java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5
m_pView->OnCurrentEntryChanged();
}
void SvImpLBox -(java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 59
{
if !|!_|-(
{
vcl::Region if (m_nStyle & (WB_HASLINES | WB_HASLINESATROOT))
vcl::Regionjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
-(- java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 59
m_pView: java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 71
(! java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
bInView ()
else
{
tools:
tools
vcl:java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 69
vcl::Region aClipRegion m_nFlags= ~BoxFlags:;
m_pView>()( )java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
m_pView- (!_-> // Parent(s) collapsed?
=>(pEntry;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
void SvImpLBox:: bool= m_pView( )
{
FindMostRight();
m_aVerSBar- =-( ;
SyncVerThumb}
ShowVerSBar();
if m_bSimpleTravel& >(java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
m_pView- }
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
m_pView->Invalidate
}
IMPL_LINK( SvImpLBox, ScrollLeftRightHdl, );
{
tools::Long =pScrollBar-GetDelta);
if( m_aVerSBar(<:Long(>( java.lang.StringIndexOutOfBoundsException: Range [92, 91) out of bounds for length 97
{
>java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 40
-EndEditing( ) // Cancel
m_pView->java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
}
->nFocusWidth=-;
KeyLeftRight( nDelta );
}
}
void SvImpLBox::KeyLeftRight( tools::Long nDelta )
{
ifnPos=java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
m_pView-> nPos = nLastEntryPosjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29
m_nFlags &= ~LBoxFlags: (! | =)
ShowCursor( false );
// calculate new origin
tools::Long
>p)
MapMode java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
( )
m_pView-> ;
)
{
GetVisibleArea);
m_pView->java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
else
m_pView->Invalidate();
!m_pStartEn)
ShowCursorjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
m_pView- /
}
// returns the last entry if position is just past the last entry
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 72
{
{java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 39
if ( !m_pView->GetModel() )
// this is quite impossible. Nevertheless, stack traces from the crash reporter(, java.lang.StringIndexOutOfBoundsException: Range [102, 101) out of bounds for length 115
// suggest it isn't. Okay, make it safe, and wait for somebody to reproduce it
// reliably :-\ ...
// #122359# / 2005-05-23 / frank.schoenheit@sun.com
return nullptr;
if java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 86
return nullptr;
sal_uInt16java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 73
}
// checks if the entry was hit "the right way"
// (Focusrect+ ContextBitmap at TreeListBox)
bool SvImpLBox::bool SvImpLBox::EntryReallyHit
{
bool bRet;
// we are not too exact when it comes to "special" entries
if( pEntryjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
tools
// Set color to draw the vertical and horizontal lines
SvLBoxContextBmp* pBmp = static_cast<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
aRect.sal_uLong nMaxjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 49
aRect.const Image& java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
Point aPos( rPosPixel ) java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
(p-)
return bRet;
}
// returns 0 if position is just past the last entry
* : Point
{
if( (m_pView->GetEntryCount() == 0) || !java.lang.StringIndexOutOfBoundsException: Range [71, 55) out of bounds for length 71
rPoint.Y m_aOutputSizeHeight(java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
|| !m_pView->GetEntryHeight())
=>(
sal_uInt16m_pView>)
sal_uInt16 nTemp = nClickedEntry;
SvTreeListEntry* aPos2 =aPos1;;
if( nTemp != nClickedEntry )
pEntry = nullptr;
return pEntry;
}
SvTreeListEntry* SvImpLBox:: .(,)
{
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
return nullptr;
.(-GetTabPos>),)
tools::Long nMax = )Width)/);
= nMax)
{
if( nY < 0 )
java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 53
else
pEntry = m_pView-> java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 50
(java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 43
m_pView->java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
if( nY (Size nMask
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
else
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
else
{
pEntry = GetClickedEntry( rPoint );
if( !pEntry )
{
sal_uInt16 aVerSize.AdjustHeight(2 ;
// TODO: LastVisible is not yet implemented!
pEntry = m_pView->java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
if( pEntry )
{
( != m_pCursor &&
m_aSelEng. if(nMask & x0001 )
)
p-S( )
}
}
returnjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
}
:R:java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
{
Point aOrigin( java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
setX java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 72
tools:java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 1
aClipRect.AdjustBottom( 1 );
return aClipRectreturnjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
}
void SvImpLBox:: aOSize -Control:java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 58
{
(!_-GetVisibleCount)
return;
m_nFlags |= LBoxFlags: tools::Long nMaxRight =aOSize.idth(;//GetOutputSize().Width();
if (m_nFlags & LBoxFlags::Filling)
{
SvTreeListEntry pFirst =m_pView->irst);
if (pFirst != m_pStartEntry)
{
(false;
m_pStartEntry = m_pView->First();
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 41
()
ShowCursornVis<java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 59
=;
return;
}
}
if (! m_nVisibleCount o3tl:make_unsignedaOSize.Height() / nEntryHeight);
{
m_pStartEntry = m_pView->
}
(m_nNodeBmpTabDistance= NODE_BMP_TABDIST_NOTVALID
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 5
tools: nRectHeight rRect.(;
tools::Long nEntryHeightif(bHorBar)
// calculate area for the entries we want to draw
>(rRectTop)/);
sal_uInt16 nCount = (nVis < m_nMostRight< )
nCount += 2;
tools::Long nY = nStartLine * nEntryHeight ()
SvTreeListEntry* SvTreeListEntry* pEntry
| x0002java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
{
pEntry = =::tools:(,Height java.lang.StringIndexOutOfBoundsException: Range [106, 105) out of bounds for length 123
-;
}
if (!m_pCursor && !mbNoAutoCurEntry)
{
// do not select if multiselection or explicit set
bool java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 42
SetCursor(m_pStartEntry, // refresh output size, in case we have to scroll
}
(n0 <& +
{
/*long nMaxRight=*/
m_pView- tools:LongnTemp=static_cast<tools::Long>(m_nVisibleCount);
nY += nEntryHeight;
nTemp--java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
}
if ( (!)
DrawNet>java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 9
m_nFlags &= =:;
}
void SvImpLBox::MakeVisible( java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 9
{
if( !pEntry =java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 38
return;
bool bInView java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 43
if( bInView && (! if .)<m_nMostRight25 )
return;
if( m_aHorSBarSetRange )
m_nFlags &java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if(
{
if( !m_pView->IsEntryVisible(pEntry) ) // Parent(s) collapsed?
{
SvTreeListEntry* pParent = m_pView {
while( pParent )
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
if( !m_pView->java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 9
{
bool bRet = java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
DBG_ASSERT(java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 27
}
pParent = m_pView->GetParent( pParent );
}
// do the parent's children fit into the view or do we have to scroll?
if( IsEntryInView java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
;java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
}
}
m_pStartEntry = pEntry;
ShowCursor( false >(
(java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
> tools:m_pView> ))
ShowCursor( true );
m_pView->NotifyScrolled(voidjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 24
>)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
}
void m_nFlags |:java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
{
if( m_pView->GetVisibleCount{
;
tools::Long ;
if<0)
nPos = 0;
else if( nPos (java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 32
nPos = nLastEntryPos-java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 33
SvTreeListEntry* pEntry :java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 26
if( !pEntry || java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 5
return;
if( m_pStartEntry |if java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 28
m_nFlags =~::;
if( m_pView->IsEntryVisible(pEntry) )
{
m_pStartEntry = pEntry;
ShowCursor( false );
( nPos ;
ShowCursor( true )}
if (GetUpdateMode( m_pStartEntry)
m_pView- ;
}
}
java.lang.StringIndexOutOfBoundsException: Range [23, 4) out of bounds for length 59
{
(= )
!m_pStartEntry->HasChildren())
{
return;
}
// for platforms that don't have nets, DrawNativeControl does nothing and returns truebool ;
/java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
if (rRenderContext.IsNativeControlSupported(java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
ImplControlValue aControlValue;
if (pTemp )
nThumb--;
{
return;
}
}
tools::Long nEntryHeight bFound =true;
tools::Long nEntryHeightDIV2 = nEntryHeight / }
if( nEntryHeightDIV2 & java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
--
java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 28
SvTreeListEntry* java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
while (m_pTree->GetDepth( java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 1
{
pEntry = m_pView->java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 23
}
sal_uInt16 nOffs = static_castif |m&>
tools::Long nY =if java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 38
-nOffs*java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 33
rRenderContext.Pushjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
const java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 90
theandlines
rRenderContext.SetLineColor java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 46
Point aPos1, : ((java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
++ ;
const java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 60
{
{
ExpandedpEntry)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
{
verticalline
.setXm_pView-GetTabPospEntry,) +m_nNodeBmpTabDistance
rExpandedNodeBitmap.GetSizePixel().Width( if( ())
aPos1.setY(nY + nEntryHeight);
pChild = m_pView->FirstChild(pEntry);
assertpChild ")
pChild = pChild->if( aRange.Max() < m_nMostRight+25 )
nDistance = static_cast<sal_uInt16>(m_pView{
m_pView->GetVisiblePos(pEntry));
aPos2 = m_aHorSBa java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
aPos2AdjustY(nDistance * nEntryHeight) - (nEntryHeightDIV2 + 2));
rRenderContext.DrawLine(aPos1, aPos2);
}
// visible in control?
if (n >= nOffs && !m_pTree
{
// draw horizontal line
aPos1. else
+ if( m_aHorSBar->IsVisible()
+ rExpandedNodeBitmap.GetSizePixel() )
aPos1
aPos2 = aPos1;
ox::yncVerThumb()
rRenderContext.DrawLine(aPos1,{
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
+
pEntry = m_pView-> -S( ;
}
rRenderContext(;
}
void java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
tools::Long nOverlap = 0;
Size (!-Ip))
Size aHorSize( rSize.Width(), java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 21
if( nMask & (nY<0)
aHorSize.java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 21
if( nMask & 0x0002 )
aVerSize.AdjustHeight( -m_nHorSBarHeight
aVerSize.tools::Long SvImpLBox:( )java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
Point aVerPos(return1 // invisible position
m_aVerSBar :Long >java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 71
.2* ;
Point aHorPos( -nOverlap, rSize * Gjava.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 46
m_aHorSBar-v:)
if( nMask & 0x0001 )
rSize.setWidth(.X( ;
if( nMask & 0x0002 )
rSize.setHeight( aHorPos (( ;
if( (nMask (!->asViewData
m_aScrBarBox->Show();
else
m_aScrBarBox->Hide ( aSize)
}
void java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 5
{
tools::Long nEntryHeight = m_pView->GetEntryHeight -I;
if( !nEntryHeight )
return;
sal_uInt16 nResult = 0;
Size aOSize
const WinBits nWindowStyle java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
bool ( nWindowStyle &)!0;
bool bHorBar = false;
: =) /java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 70
;
aOrigin.setX (java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 27
X( java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
tools:: );
if( (nWindowStyle &>SetRange (0 -()1 );
(nVis< ||<
{
bHorBar
}
// number of entries that are not collapsedjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 23
sal_uLong nTotalCount =void SvImpLBox::( SvTreeListEntry* )
m_nVisibleCount = o3tl::java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 15
// do we need a vertical scrollbar?
if( (! | -IsChild ,m_pMostRightEntry))
{
nResult = 1;
nMaxRight -= m_nVerSBarWidth;
if( !}
{
if nWindowStyle (B_AUTOHSCROLLWB_HSCROLL)&java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
|
bHorBar = true;
}
}
// do we need a horizontal scrollbar?
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
{
nResult |= 0x0002;
// the number of entries visible within the view has to be recalculated java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 73
// because the horizontal scrollbar is now visible.
m_nVisibleCount=o3tl:make_unsignedstd:<::Long>0 .()-) /nEntryHeight;
// we might actually need a vertical scrollbar now
if( !(nResult & 0x0001) &&
((nTotalCount > m_nVisibleCount m_pView->Invalidate();
{
nResult = 3;
}
}
PositionScrollBars( java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 5
// adapt Range, VisibleRange etc.
// refresh output size, in case we have to scroll
tools::Rectangle )
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 28
m_aSelEngjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
// vertical scrollbar
tools::Long ( !m_pView->IsEntryVisible )|!java.lang.StringIndexOutOfBoundsException: Range [62, 60) out of bounds for length 62
nTemp--;
(nTemp != m_aVerSBar-java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 47
{
if( !m_bInVScrollHdl )
{
if (java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 27
m_aVerSBar->SetVisibleSize ;
}
else
{
m_nFlags |= if( m_pTree->IsChild(pEntry
m_nNextVerVisSize = nTemp;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
// horizontal scrollbar
nTemp = m_aHorSBar
m_aHorSBar->SetVisibleSize( java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 0
tools::Long nNewThumbPos = m_aHorSBar
RangeaRange( m_aHorSBar->GetRange() );
if( aRange.Max() < m_nMostRight+25 )
{
aRange.) m_nMostRight+5;
m_aHorSBar->SetRange( aRange );
if( void SvImpLBo:)
{
-java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
if{
{
m_pView->EndEditing aSize=java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 57
m_pView->PaintImmediately();
}
m_pView->nFocusWidth java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
KeyLeftRight( nTemp );
}
if( nResult & {
>)
else
m_aVerSBar->Hide();
if( nResult & 0x0002 (&
>();
else
{
m_aHorSBar->Hide();
}
rSize = aOSize;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
void SvImpLBox:: if( GetUpdateMode() && m_pVi(java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 60
{
m_aScrBarBox- ( ) )
Size aSize( f;
m_aScrBarBox->SetPosPixel( Point
}()java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
void java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
{
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 59
if( m_aOutputSize.IsEmpty() (VclEventId: ,pEntry);
return;
m_nFlags |= LBoxFlags::InResize;
DestroyAnchor()
(m_pView-()
{
AdjustScrollBars( m_aOutputSize{
UpdateAll();
}
// HACK, as in floating and docked windows the scrollbars might not be drawn
// correctly/not be drawn at all after resizing!
if( m_aHorSBar->IsVisible if(= || (
-I(java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
if( m_aVerSBar- -( m_pMostRightEntry
m_aVerSBar->Invalidate( =LBoxFlags:;
m_nFlags &= }
}
void:)
{
if( !m_pStartEntry )
{
nVisibleViewCount = m_pView->GetVisibleCount();
tools::Long nTempThumb = m_aVerSBar->GetThumbPos();
if( nTempThumb < 0 ) if ( & -G()-(.(= 1)
DBG_ASSERT-(java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 75
else if( o3tl::make_unsignedInvalidateEntry ;
nTempThumb =
m_pStartEntry=-)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
}
if !pjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 24
return;
(&java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 42
sal_uInt16 java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 29
sal_uLong nCurDispEntries = nLast-nThumb+1 ( )
if( nCurDispEntries >= m_nVisibleCount )
return;
( ;
// fill window by moving the thumb up incrementally
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 33
SvTreeListEntry* pTemp = m_pStartEntry;
while=-java.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 45
{
);
if( pTemp )
{
nThumb--;
m_pStartEntry
nCurDispEntries++;
=true
}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 16
{
ShowCursor( true ); java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
m_pView->Invalidate();
}
}
:)
{
bool bVerBar = ( m_pView->GetStyle() & WB_VSCROLL
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 23
if( !bVerBar )
nVis = m_pView- ( )
& nVis <>-) java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
{
if -))
{
m_pView->nFocusWidth = -1;
AdjustScrollBars( m_aOutputSize );
if ( m_bSimpleTravel |m_pView-())
m_aVerSBar->Invalidate();
}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
else
{
->IsVisible( )
{
m_pView>nFocusWidth -1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
AdjustScrollBars m_aOutputSize)
}
}
tools::Long nMaxRight = GetOutputSize().Width
PointaPos -G)))java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
aPos(.X) 1
nMaxRight = nMaxRight + & -HasFocus&!I
if( nMaxRight < if( m_pView->GetSele
{
if >( java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
{
m_pView-pNextCursor- java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
AdjustScrollBars( m_aOutputSize );
if( GetUpdateMode() )
m_aHorSBar->Invalidate();
}
else
{
Range aRange( m_aHorSBar->GetRange() );
if( aRange.Max() java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
aRange.Max
m_aHorSBar->SetRange( aRange );
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
else
{
>java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 42
AdjustScrollBars( m_aOutputSize );
}
}
}
else
{
if( m_aHorSBar->IsVisible() )
{
m_pView-> if( IsEntryInView( pEntry
;
}
}
} ( != )
void SvImpLBox::SyncVerThumb() =;
{
if( m_pStartEntry )
{
tools: =>java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 72
m_aVerSBar->SetThumbPos( nEntryPos );
}
pNew = m_pView->revVisible(m_pStartEntry);
m_aVerSBar->SetThumbPos( 0 );
}
bool SvImpLBox
{
// parent collapsed
if( !m_pView->pNew = pEntry->PrevSibling
return false;
tools::Long nY = GetEntryLine( java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 1
if( nY < 0 )
return false;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
return nY < nMax;
}
tools::Long SvImpLBox::GetEntryLine(const SvTreeListEntry*
{
if(!m_pStartEntry )
-1
->(java.lang.StringIndexOutOfBoundsException: Range [70, 68) out of bounds for length 71
: =( ;
nFirstVisPos = nEntryVisPos - nFirstVisPos;
*m_pViewGjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 46
return nFirstVisPos;
}
void SvImpLBox::SetEntryHeight(if(=java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 29
{
ShowCursor ;
SetNodeBmpWidth( GetCollapsedNodeBmp() );
if(!m_pView->java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 9
{
Size aSize = m_pView->Control: java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 56
AdjustScrollBars( aSize );
}
else
{
Resize();
() java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
m_pView->Invalidate()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
}
// ***********************************************************************
// Callback Functions
// ***********************************************************************
void SvImpLBox::EntryExpanded( SvTreeListEntry* pEntry )
{
elAllDestrAnch(false, ) //DeselectAll();
if( !GetUpdateMode() )
return;
ShowCursor( false );
tools::Long nY = GetEntryLine( pEntry );
if( IsLineVisible(nY) )
{
InvalidateEntriesFrom( nY );
( )java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
}
m_aVerSBar->SetRange( Range(0, m_pView->java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 24
// if we expanded before the thumb, the thumb's position has to be
// corrected
SyncVerThumb(); tools:Long nY=GetEntryLine( );
ShowVerSBar()java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
ShowCursor( true );
}
void SvImpLBox::EntryCollapsed( SvTreeListEntry* pEntry )
{
if( !m_pView->IsEntryVisible( pEntry( ;
return;
(java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
{
FindMostRight();
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if( m_pStartEntry java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 52
{
tools::Long
sal_uLong nVisList = m_pView- java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 36
m_aVerSBar->SetRange( Range(}
tools::Long nNewThumbPos = java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 43
{
m_pStartEntry = m_pView->First( S (0,)1)
sal_uInt16 nDistance = java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 18 | |