summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-24 17:15:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-25 11:41:23 +0100
commitdcd099d335dc73b325de8b3a10276a6f3bb047b3 (patch)
treee7a3b4bdf31095443628331730eafdb225490903
parentcd6e8837c17922c9ccf2b5740036853ac3adce45 (diff)
nothing uses RSC_BUTTON anymore now
Change-Id: I016d1507fcadf5da1207241c6feec1a03188eef7
-rw-r--r--include/tools/rcid.h1
-rw-r--r--include/tools/resid.hxx1
-rw-r--r--rsc/source/parser/rscinit.cxx8
3 files changed, 0 insertions, 10 deletions
diff --git a/include/tools/rcid.h b/include/tools/rcid.h
index 0dc60382afd0..fb1bb724b8f6 100644
--- a/include/tools/rcid.h
+++ b/include/tools/rcid.h
@@ -46,7 +46,6 @@
#define RSC_WINDOW (RSC_NOTYPE + 0x35)
#define RSC_CONTROL (RSC_NOTYPE + 0x44)
-#define RSC_BUTTON (RSC_NOTYPE + 0x45)
#define RSC_TEXT (RSC_NOTYPE + 0x57)
diff --git a/include/tools/resid.hxx b/include/tools/resid.hxx
index 0feec42f8f39..e29b0fea3031 100644
--- a/include/tools/resid.hxx
+++ b/include/tools/resid.hxx
@@ -72,7 +72,6 @@ public:
[Example]
ResId aId( 1000 );
aId.SetRT( RSC_WINDOW ); // settype window Window
- aId.SetRT( RSC_BUTTON ); // will not set type Button
//aId.GetRT() == RSC_WINDOW is true
@see
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 1c57ef86591a..a127e5e96012 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -63,7 +63,6 @@ void RscTypCont::Init()
RscTop * pClassImageList;
RscTop * pClassWindow;
RscTop * pClassControl;
- RscTop * pClassButton;
RscTop * pClassFixedText;
RscTop * pClassKeyCode;
RscTop * pLangClassKeyCode;
@@ -288,13 +287,6 @@ void RscTypCont::Init()
{
pClassControl = InitClassControl( pClassWindow );
pRoot->Insert( pClassControl );
-
- // initialize class
- nId = pHS->getID( "Button" );
- pClassButton = new RscClass( nId, RSC_BUTTON, pClassControl );
- pClassButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassButton );
- pRoot->Insert( pClassButton );
}
{
pClassFixedText = InitClassFixedText( pClassControl );