summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tools/rcid.h1
-rw-r--r--rsc/source/parser/rscinit.cxx9
2 files changed, 0 insertions, 10 deletions
diff --git a/include/tools/rcid.h b/include/tools/rcid.h
index b1ba81b4a59f..f9ad6ede08d4 100644
--- a/include/tools/rcid.h
+++ b/include/tools/rcid.h
@@ -57,7 +57,6 @@
#define RSC_BUTTON (RSC_NOTYPE + 0x45)
#define RSC_PUSHBUTTON (RSC_NOTYPE + 0x46)
-#define RSC_CANCELBUTTON (RSC_NOTYPE + 0x48)
#define RSC_HELPBUTTON (RSC_NOTYPE + 0x49)
#define RSC_IMAGEBUTTON (RSC_NOTYPE + 0x4a)
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 56b56eca4739..211490a6805d 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -73,7 +73,6 @@ void RscTypCont::Init()
RscTop * pClassButton;
RscTop * pClassCheckBox;
RscTop * pClassPushButton;
- RscTop * pClassCancelButton;
RscTop * pClassHelpButton;
RscTop * pClassRadioButton;
RscTop * pClassImageButton;
@@ -372,14 +371,6 @@ void RscTypCont::Init()
pClassHelpButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
aNmTb.Put( nId, CLASSNAME, pClassHelpButton );
pRoot->Insert( pClassHelpButton );
-
- // Klasse anlegen
- nId = pHS->getID( "CancelButton" );
- pClassCancelButton = new RscClass( nId, RSC_CANCELBUTTON,
- pClassPushButton );
- pClassCancelButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassCancelButton );
- pRoot->Insert( pClassCancelButton );
}
{
pClassRadioButton = InitClassRadioButton( pClassButton );