diff options
-rw-r--r-- | include/tools/rcid.h | 2 | ||||
-rw-r--r-- | include/vcl/fixed.hxx | 4 | ||||
-rw-r--r-- | rsc/inc/rscdb.hxx | 1 | ||||
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 20 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 4 | ||||
-rw-r--r-- | vcl/source/control/fixed.cxx | 12 |
6 files changed, 1 insertions, 42 deletions
diff --git a/include/tools/rcid.h b/include/tools/rcid.h index aef56b4dd4e1..ab66fd1b7474 100644 --- a/include/tools/rcid.h +++ b/include/tools/rcid.h @@ -81,7 +81,7 @@ #define RSC_MULTILISTBOX (RSC_NOTYPE + 0x56) #define RSC_TEXT (RSC_NOTYPE + 0x57) #define RSC_FIXEDLINE (RSC_NOTYPE + 0x58) -#define RSC_FIXEDBITMAP (RSC_NOTYPE + 0x59) + #define RSC_FIXEDIMAGE (RSC_NOTYPE + 0x5a) #define RSC_GROUPBOX (RSC_NOTYPE + 0x5c) #define RSC_SCROLLBAR (RSC_NOTYPE + 0x5d) diff --git a/include/vcl/fixed.hxx b/include/vcl/fixed.hxx index c6e2c45f55a5..33a6632f3243 100644 --- a/include/vcl/fixed.hxx +++ b/include/vcl/fixed.hxx @@ -124,10 +124,7 @@ public: virtual Size GetOptimalSize() const SAL_OVERRIDE; }; - // - FixedBitmap - - - class VCL_DLLPUBLIC FixedBitmap : public Control { private: @@ -146,7 +143,6 @@ protected: public: explicit FixedBitmap( Window* pParent, WinBits nStyle = 0 ); - explicit FixedBitmap( Window* pParent, const ResId& ); virtual ~FixedBitmap(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index 7414bae6f5e1..6468708c73a3 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -188,7 +188,6 @@ class RscTypCont RscTop * InitClassMultiListBox( RscTop * pSuper ); RscTop * InitClassComboBox( RscTop * pSuper, RscArray * pStrLst ); RscTop * InitClassFixedText( RscTop * pSuper ); - RscTop * InitClassFixedBitmap( RscTop * pSuper, RscTop * pClassBitmap ); RscTop * InitClassFixedImage( RscTop * pSuper, RscTop * pClassImage ); RscTop * InitClassRadioButton( RscTop * pSuper ); RscTop * InitClassKeyCode( RscTop * pSuper, RscEnum * pKey ); diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index b49e2a931abd..067047b589fe 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -750,26 +750,6 @@ RscTop * RscTypCont::InitClassFixedText( RscTop * pSuper ) return pClassFixedText; } -RscTop * RscTypCont::InitClassFixedBitmap( RscTop * pSuper, RscTop * pClassBitmap ) -{ - Atom nId; - RscTop * pClassFixedBitmap; - - // Klasse anlegen - nId = pHS->getID( "FixedBitmap" ); - pClassFixedBitmap = new RscClass( nId, RSC_FIXEDBITMAP, pSuper ); - pClassFixedBitmap->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassFixedBitmap ); - - INS_WINBIT(pClassFixedBitmap,Scale) - - // Variablen anlegen - nId = aNmTb.Put( "Fixed", VARNAME ); - pClassFixedBitmap->SetVariable( nId, pClassBitmap, 0, 0, RSC_FIXEDBITMAP_BITMAP ); - - return pClassFixedBitmap; -} - RscTop * RscTypCont::InitClassFixedImage( RscTop * pSuper, RscTop * pClassImage ) { Atom nId; diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 9a67f1d8d036..0ff5e2487cdc 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -91,7 +91,6 @@ void RscTypCont::Init() RscTop * pClassMultiListBox; RscTop * pClassComboBox; RscTop * pClassFixedText; - RscTop * pClassFixedBitmap; RscTop * pClassFixedImage; RscTop * pClassGroupBox; RscTop * pClassKeyCode; @@ -460,9 +459,6 @@ void RscTypCont::Init() pClassFixedText = InitClassFixedText( pClassControl ); pRoot->Insert( pClassFixedText ); - pClassFixedBitmap = InitClassFixedBitmap( pClassControl, pClassBitmap ); - pRoot->Insert( pClassFixedBitmap ); - pClassFixedImage = InitClassFixedImage( pClassControl, pClassImage ); pRoot->Insert( pClassFixedImage ); diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index 404fb046fa48..3b50a3c6e92a 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -761,18 +761,6 @@ FixedBitmap::FixedBitmap( Window* pParent, WinBits nStyle ) : ImplInit( pParent, nStyle ); } -FixedBitmap::FixedBitmap( Window* pParent, const ResId& rResId ) : - Control( WINDOW_FIXEDBITMAP ) -{ - rResId.SetRT( RSC_FIXEDBITMAP ); - WinBits nStyle = ImplInitRes( rResId ); - ImplInit( pParent, nStyle ); - ImplLoadRes( rResId ); - - if ( !(nStyle & WB_HIDE) ) - Show(); -} - FixedBitmap::~FixedBitmap() { } |