remove OV* debug stuff
This commit is contained in:
@@ -1584,16 +1584,6 @@ void SvxIconChoiceCtrl_Impl::PaintEmphasis(
|
|||||||
if( !pOut )
|
if( !pOut )
|
||||||
pOut = pView;
|
pOut = pView;
|
||||||
|
|
||||||
#ifdef OV_CHECK_EMPH_RECTS
|
|
||||||
{
|
|
||||||
Color aXOld( pOut->GetFillColor() );
|
|
||||||
pOut->SetFillColor( Color( COL_GREEN ));
|
|
||||||
pOut->DrawRect( rTextRect );
|
|
||||||
pOut->DrawRect( rImageRect );
|
|
||||||
pOut->SetFillColor( aXOld );
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const StyleSettings& rSettings = pOut->GetSettings().GetStyleSettings();
|
const StyleSettings& rSettings = pOut->GetSettings().GetStyleSettings();
|
||||||
Color aOldFillColor( pOut->GetFillColor() );
|
Color aOldFillColor( pOut->GetFillColor() );
|
||||||
|
|
||||||
@@ -1714,9 +1704,6 @@ void SvxIconChoiceCtrl_Impl::PaintItem( const Rectangle& rRect,
|
|||||||
|
|
||||||
void SvxIconChoiceCtrl_Impl::PaintEntryVirtOutDev( SvxIconChoiceCtrlEntry* pEntry )
|
void SvxIconChoiceCtrl_Impl::PaintEntryVirtOutDev( SvxIconChoiceCtrlEntry* pEntry )
|
||||||
{
|
{
|
||||||
#ifdef OV_NO_VIRT_OUTDEV
|
|
||||||
PaintEntry( pEntry );
|
|
||||||
#else
|
|
||||||
if( !pEntryPaintDev )
|
if( !pEntryPaintDev )
|
||||||
{
|
{
|
||||||
pEntryPaintDev = new VirtualDevice( *pView );
|
pEntryPaintDev = new VirtualDevice( *pView );
|
||||||
@@ -1751,7 +1738,6 @@ void SvxIconChoiceCtrl_Impl::PaintEntryVirtOutDev( SvxIconChoiceCtrlEntry* pEntr
|
|||||||
Point(),
|
Point(),
|
||||||
aSize,
|
aSize,
|
||||||
*pEntryPaintDev );
|
*pEntryPaintDev );
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1832,17 +1818,6 @@ void SvxIconChoiceCtrl_Impl::PaintEntry( SvxIconChoiceCtrlEntry* pEntry, const P
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef OV_DRAWBOUNDRECT
|
|
||||||
{
|
|
||||||
Color aXOldColor = pOut->GetLineColor();
|
|
||||||
pOut->SetLineColor( Color( COL_LIGHTRED ) );
|
|
||||||
Rectangle aXRect( pEntry->aRect );
|
|
||||||
aXRect.SetPos( rPos );
|
|
||||||
pOut->DrawRect( aXRect );
|
|
||||||
pOut->SetLineColor( aXOldColor );
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
sal_Bool bLargeIconMode = WB_ICON == ( nWinBits & (VIEWMODE_MASK) );
|
sal_Bool bLargeIconMode = WB_ICON == ( nWinBits & (VIEWMODE_MASK) );
|
||||||
sal_uInt16 nBmpPaintFlags = PAINTFLAG_VER_CENTERED;
|
sal_uInt16 nBmpPaintFlags = PAINTFLAG_VER_CENTERED;
|
||||||
if ( bLargeIconMode )
|
if ( bLargeIconMode )
|
||||||
|
@@ -2156,20 +2156,6 @@ void SvTreeListBox::KeyInput( const KeyEvent& rKEvt )
|
|||||||
|
|
||||||
nImpFlags |= SVLBOX_IS_TRAVELSELECT;
|
nImpFlags |= SVLBOX_IS_TRAVELSELECT;
|
||||||
|
|
||||||
#ifdef OVDEBUG
|
|
||||||
sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode();
|
|
||||||
switch ( nCode )
|
|
||||||
{
|
|
||||||
case KEY_F1:
|
|
||||||
{
|
|
||||||
SvTreeListEntry* pEntry = First();
|
|
||||||
pEntry = NextVisible( pEntry );
|
|
||||||
SetEntryText( pEntry, "SetEntryText" );
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if( !pImp->KeyInput( rKEvt ) )
|
if( !pImp->KeyInput( rKEvt ) )
|
||||||
{
|
{
|
||||||
bool bHandled = HandleKeyInput( rKEvt );
|
bool bHandled = HandleKeyInput( rKEvt );
|
||||||
|
@@ -1454,12 +1454,6 @@ sal_uInt64 SvStream::Seek(sal_uInt64 const nFilePos)
|
|||||||
pBufPos = pRWBuf;
|
pBufPos = pRWBuf;
|
||||||
m_nBufFilePos = SeekPos( nFilePos );
|
m_nBufFilePos = SeekPos( nFilePos );
|
||||||
}
|
}
|
||||||
#ifdef OV_DEBUG
|
|
||||||
{
|
|
||||||
sal_uInt64 nDebugTemp = m_nBufFilePos + nBufActualPos;
|
|
||||||
DBG_ASSERT(Tell()==nDebugTemp,"Sync?");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
return m_nBufFilePos + nBufActualPos;
|
return m_nBufFilePos + nBufActualPos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user