summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscicpx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/parser/rscicpx.cxx')
-rw-r--r--rsc/source/parser/rscicpx.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 94fd77b045f6..e67747cf752c 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -138,8 +138,7 @@ RscTop * RscTypCont::InitClassColor( RscTop * pSuper, RscEnum * pColor )
return pClassColor;
}
-RscTop * RscTypCont::InitClassImage( RscTop * pSuper, RscTop * pClassBitmap,
- RscTop * pClassColor )
+RscTop * RscTypCont::InitClassImage( RscTop * pSuper, RscTop * pClassBitmap )
{
Atom nId;
RscTop * pClassImage;
@@ -153,9 +152,6 @@ RscTop * RscTypCont::InitClassImage( RscTop * pSuper, RscTop * pClassBitmap,
// initialize variables
nId = aNmTb.Put( "ImageBitmap", VARNAME );
pClassImage->SetVariable( nId, pClassBitmap, nullptr, 0, (sal_uInt32)RscImageFlags::ImageBitmap );
- nId = aNmTb.Put( "MaskColor", VARNAME );
- pClassImage->SetVariable( nId, pClassColor, nullptr,
- VAR_SVDYNAMIC, (sal_uInt32)RscImageFlags::MaskColor );
return pClassImage;
}