summaryrefslogtreecommitdiff
path: root/vcl/source/image
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/image')
-rw-r--r--vcl/source/image/Image.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/vcl/source/image/Image.cxx b/vcl/source/image/Image.cxx
index 516883c8f170..bc663fbbc525 100644
--- a/vcl/source/image/Image.cxx
+++ b/vcl/source/image/Image.cxx
@@ -44,29 +44,6 @@ Image::Image()
{
}
-Image::Image( const ResId& rResId )
-{
- rResId.SetRT( RSC_IMAGE );
-
- ResMgr* pResMgr = rResId.GetResMgr();
- if( pResMgr && pResMgr->GetResource( rResId ) )
- {
- pResMgr->Increment( sizeof( RSHEADER_TYPE ) );
-
- BitmapEx aBmpEx;
- RscImageFlags nObjMask = (RscImageFlags)pResMgr->ReadLong();
-
- if( nObjMask & RscImageFlags::ImageBitmap )
- {
- aBmpEx = BitmapEx( ResId( static_cast<RSHEADER_TYPE*>(pResMgr->GetClass()), *pResMgr ) );
- pResMgr->Increment( ResMgr::GetObjSize( static_cast<RSHEADER_TYPE*>(pResMgr->GetClass()) ) );
- }
-
- if( ! aBmpEx.IsEmpty() )
- ImplInit( aBmpEx );
- }
-}
-
Image::Image(const BitmapEx& rBitmapEx)
{
ImplInit(rBitmapEx);