summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-09-13 12:49:08 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-09-13 12:49:32 +0100
commita6c18caef16b9eb0742c2a2cbb724e66bb31c3c3 (patch)
tree273b82d875f1b55db73b56bb2fd147c7abe43917 /vcl/source/control
parent41747c962603222b2d6221a9f5fca28cd71c103a (diff)
targetted container_controls rework.
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/group.cxx1
-rw-r--r--vcl/source/control/tabctrl.cxx16
2 files changed, 0 insertions, 17 deletions
diff --git a/vcl/source/control/group.cxx b/vcl/source/control/group.cxx
index 3f90418c4b24..d0de40ae926f 100644
--- a/vcl/source/control/group.cxx
+++ b/vcl/source/control/group.cxx
@@ -133,7 +133,6 @@ GroupBox::GroupBox( Window* pParent, const ResId& rResId ) :
void GroupBox::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
const Point& rPos, const Size& rSize, bool bLayout )
{
- OSL_TRACE("GroupBox::ImplDraw Y %d, X %d", rPos.Y(), rPos.X() );
long nTop;
long nTextOff;
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 84d6e37f5dd7..a1d77ef755c0 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -158,18 +158,6 @@ const Color& TabControl::GetCanonicalTextColor( const StyleSettings& _rStyle ) c
// -----------------------------------------------------------------------
-WinBits TabControl::ImplInitStyle( WinBits nStyle )
-{
- if ( !(nStyle & WB_NOTABSTOP) )
- nStyle |= WB_TABSTOP;
- if ( !(nStyle & WB_NOGROUP) )
- nStyle |= WB_GROUP;
-
- return nStyle;
-}
-
-// -----------------------------------------------------------------------
-
void TabControl::ImplInitSettings( sal_Bool bFont,
sal_Bool bForeground, sal_Bool bBackground )
{
@@ -1482,10 +1470,6 @@ void TabControl::StateChanged( StateChangedType nType )
ImplInitSettings( sal_False, sal_False, sal_True );
Invalidate();
}
- else if ( nType == STATE_CHANGE_STYLE )
- {
- SetStyle( ImplInitStyle( GetStyle() ) );
- }
}
// -----------------------------------------------------------------------