summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-24 14:35:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-24 15:06:41 +0100
commiteac3793d4d92d75bffd9b282f75a9df20ec19299 (patch)
tree6611dc4a5d8b192dc41cdeb06fe6b47f26dd34f5 /rsc
parentd0e204942332cd825edc3a38ebf331c02fd4dcfe (diff)
no FixedImage is loaded from .src anymore
Change-Id: I7c5acd18b14822d6344af3709c6d8cfb343104ef
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscdb.hxx1
-rw-r--r--rsc/source/parser/rscicpx.cxx18
-rw-r--r--rsc/source/parser/rscinit.cxx4
3 files changed, 0 insertions, 23 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index cbcafe0cb594..4be970fb85f5 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -179,7 +179,6 @@ class RscTypCont
RscTop * InitClassEdit( RscTop * pSuper );
RscTop * InitClassListBox( RscTop * pSuper, RscArray * pStrLst );
RscTop * InitClassFixedText( RscTop * pSuper );
- RscTop * InitClassFixedImage( RscTop * pSuper, RscTop * pClassImage );
RscTop * InitClassKeyCode( RscTop * pSuper, RscEnum * pKey );
RscTop * InitClassMenuItem( RscTop * pSuper );
RscTop * InitClassMenu( RscTop * pSuper, RscTop * pMenuItem );
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index c50204788c9c..01c310dc39b6 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -360,24 +360,6 @@ RscTop * RscTypCont::InitClassFixedText( RscTop * pSuper )
return pClassFixedText;
}
-RscTop * RscTypCont::InitClassFixedImage( RscTop * pSuper, RscTop * pClassImage )
-{
- Atom nId;
- RscTop * pClassFixedImage;
-
- // initialize class
- nId = pHS->getID( "FixedImage" );
- pClassFixedImage = new RscClass( nId, RSC_FIXEDIMAGE, pSuper );
- pClassFixedImage->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassFixedImage );
-
- // initialize variables
- nId = aNmTb.Put( "Fixed", VARNAME );
- pClassFixedImage->SetVariable( nId, pClassImage, nullptr, 0, RSC_FIXEDIMAGE_IMAGE );
-
- return pClassFixedImage;
-}
-
RscTop * RscTypCont::InitClassKeyCode( RscTop * pSuper, RscEnum * pKey )
{
Atom nId;
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 68bb4f77aedd..7bd5ea75673c 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -68,7 +68,6 @@ void RscTypCont::Init()
RscTop * pClassEdit;
RscTop * pClassListBox;
RscTop * pClassFixedText;
- RscTop * pClassFixedImage;
RscTop * pClassKeyCode;
RscTop * pLangClassKeyCode;
@@ -315,9 +314,6 @@ void RscTypCont::Init()
pClassFixedText = InitClassFixedText( pClassControl );
pRoot->Insert( pClassFixedText );
- pClassFixedImage = InitClassFixedImage( pClassControl, pClassImage );
- pRoot->Insert( pClassFixedImage );
-
pClassKeyCode = InitClassKeyCode( pClassMgr, pKey );
pRoot->Insert( pClassKeyCode );
{