summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-14 14:00:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-14 14:01:10 +0100
commit767a65d9dd11308cb8f1384f80a7aab8c7ff5a38 (patch)
tree2ea29b764112b1725a50a339eb7818f1b004f43b /vcl
parentaddf8139b7672e3264515be6d0ce51cdf43754c9 (diff)
callcatcher: update unused code list
No TriStateBoxes are loaded from .res files anymore. Change-Id: Ie897dc9a46a4e09e7fb1160a5bd4a65c63ba7979
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/button.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 32d70f37b055..73b1ed401b90 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -4104,22 +4104,6 @@ TriStateBox::TriStateBox( Window* pParent, WinBits nStyle ) :
// -----------------------------------------------------------------------
-TriStateBox::TriStateBox( Window* pParent, const ResId& rResId ) :
- CheckBox( pParent, rResId.SetRT( RSC_TRISTATEBOX ) )
-{
- EnableTriState( sal_True );
-
- sal_uLong nTriState = ReadLongRes();
- sal_uInt16 bDisableTriState = ReadShortRes();
- //anderer Wert als Default ?
- if ( (TriState)nTriState != STATE_NOCHECK )
- SetState( (TriState)nTriState );
- if ( bDisableTriState )
- EnableTriState( sal_False );
-}
-
-// -----------------------------------------------------------------------
-
TriStateBox::~TriStateBox()
{
}