summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-19 08:20:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-19 13:20:19 +0100
commitea3edee44ad4796f6fc68190b7d03f8c8917c313 (patch)
treed06599d0b748b0572145a5708180f3e5bdbeddc8 /vcl
parent1399a51fd6c2644dd1dc2c79d3448deeacbb2c9d (diff)
callcatcher: update unused code
ResId loaders begining to melt away Change-Id: Ied10d95f6561f24b2305d202847b7e7c39eb63c3
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/field.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 2a4a30ac0fe2..32fda191be43 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -1940,21 +1940,6 @@ MetricBox::MetricBox( Window* pParent, WinBits nWinStyle ) :
// -----------------------------------------------------------------------
-MetricBox::MetricBox( Window* pParent, const ResId& rResId ) :
- ComboBox( WINDOW_METRICBOX )
-{
- rResId.SetRT( RSC_METRICBOX );
- WinBits nStyle = ImplInitRes( rResId );
- ComboBox::ImplInit( pParent, nStyle );
- SetField( this );
- Reformat();
- ComboBox::ImplLoadRes( rResId );
- MetricFormatter::ImplLoadRes( ResId( (RSHEADER_TYPE *)GetClassRes(), *rResId.GetResMgr() ) );
-
- if ( !(nStyle & WB_HIDE ) )
- Show();
-}
-
Size MetricBox::CalcMinimumSize() const
{
Size aRet(calcMinimumSize(*this, *this));