diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-04-04 15:11:53 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-04-14 12:31:49 +0200 |
commit | c11790bb6758af3220cbb5931bf2c9f77cbb51eb (patch) | |
tree | 6ddc992e921d0ba1817aa187ab88036ad9489141 /svtools | |
parent | be9e7782309a176a68ff856dc18d737813fb14ae (diff) |
remove OV* debug stuff
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/imivctl1.cxx | 25 | ||||
-rw-r--r-- | svtools/source/contnr/treelistbox.cxx | 14 |
2 files changed, 0 insertions, 39 deletions
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index e41a98867431..b4972f2f8120 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -1584,16 +1584,6 @@ void SvxIconChoiceCtrl_Impl::PaintEmphasis( if( !pOut ) 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(); Color aOldFillColor( pOut->GetFillColor() ); @@ -1714,9 +1704,6 @@ void SvxIconChoiceCtrl_Impl::PaintItem( const Rectangle& rRect, void SvxIconChoiceCtrl_Impl::PaintEntryVirtOutDev( SvxIconChoiceCtrlEntry* pEntry ) { -#ifdef OV_NO_VIRT_OUTDEV - PaintEntry( pEntry ); -#else if( !pEntryPaintDev ) { pEntryPaintDev = new VirtualDevice( *pView ); @@ -1751,7 +1738,6 @@ void SvxIconChoiceCtrl_Impl::PaintEntryVirtOutDev( SvxIconChoiceCtrlEntry* pEntr Point(), aSize, *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_uInt16 nBmpPaintFlags = PAINTFLAG_VER_CENTERED; if ( bLargeIconMode ) diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index d27f7b601b68..57553c8f3a52 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -2156,20 +2156,6 @@ void SvTreeListBox::KeyInput( const KeyEvent& rKEvt ) 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 ) ) { bool bHandled = HandleKeyInput( rKEvt ); |