summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-06-13 16:42:52 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-06-13 16:43:39 +0900
commit6c7da3e22a889e559e31f62afb33f9736181a171 (patch)
tree34f6380fcced86a8a5fed3c4f98f644a48ed9003 /vcl/source
parent4965c3cc4b48170ce1c3bc27d033ae9132ae1e4a (diff)
removed code commented-out in the first place
Change-Id: Idb109cf767342042f1a2941c30fcf137f468e7df
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/ilstbox.cxx21
-rw-r--r--vcl/source/gdi/outdev6.cxx5
-rw-r--r--vcl/source/gdi/region.cxx4
3 files changed, 0 insertions, 30 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 6c502be33bc2..84c30f29b3be 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -2044,18 +2044,6 @@ void ImplListBoxWindow::LoseFocus()
// -----------------------------------------------------------------------
-/*
-void ImplListBoxWindow::RequestHelp( const HelpEvent& rHEvt )
-{
- if ( rHEvt.GetMode() & HELPMODE_BALLOON )
- Help::ShowBalloon( this, rHEvt.GetMousePosPixel(), String() );
-
- Window::RequestHelp( rHEvt );
-}
-*/
-
-// -----------------------------------------------------------------------
-
void ImplListBoxWindow::SetTopEntry( sal_uInt16 nTop )
{
if( mpEntryList->GetEntryCount() == 0 )
@@ -2590,8 +2578,6 @@ void ImplListBox::StateChanged( StateChangedType nType )
{
sal_Bool bUpdate = IsUpdateMode();
maLBWindow.SetUpdateMode( bUpdate );
-// mpHScrollBar->SetUpdateMode( bUpdate );
-// mpVScrollBar->SetUpdateMode( bUpdate );
if ( bUpdate && IsReallyVisible() )
ImplCheckScrollBars();
}
@@ -2634,13 +2620,6 @@ void ImplListBox::StateChanged( StateChangedType nType )
void ImplListBox::DataChanged( const DataChangedEvent& rDCEvt )
{
-// if ( (rDCEvt.GetType() == DATACHANGED_SETTINGS) &&
-// (rDCEvt.GetFlags() & SETTINGS_STYLE) )
-// {
-// maLBWindow.SetSettings( GetSettings() );
-// Resize();
-// }
-// else
Control::DataChanged( rDCEvt );
}
diff --git a/vcl/source/gdi/outdev6.cxx b/vcl/source/gdi/outdev6.cxx
index cb82500a2cc4..768aba91084c 100644
--- a/vcl/source/gdi/outdev6.cxx
+++ b/vcl/source/gdi/outdev6.cxx
@@ -1042,11 +1042,6 @@ void OutputDevice::ImplDrawGradientWallpaper( long nX, long nY,
const sal_Bool bOldMap = mbMap;
sal_Bool bNeedGradient = sal_True;
-/*
- if ( rWallpaper.IsRect() )
- aBound = LogicToPixel( rWallpaper.GetRect() );
- else
-*/
aBound = Rectangle( Point( nX, nY ), Size( nWidth, nHeight ) );
mpMetaFile = NULL;
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index ee975d04ba8b..11eed095468b 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -2261,10 +2261,6 @@ sal_Bool Region::IsInside( const Point& rPoint ) const
// PolyPolygon data im Imp structure?
((Region*)this)->ImplPolyPolyRegionToBandRegion();
-/*
- if ( mpImplRegion->mpPolyPoly )
- return mpImplRegion->mpPolyPoly->IsInside( rPoint );
-*/
// no instance data? -> not inside
if ( (mpImplRegion == &aImplEmptyRegion) || (mpImplRegion == &aImplNullRegion) )