fdo#66288: fix MetaAction::Read()
This is "collateral damage" from the actual bug, and is broken since CVS
initial import (which likely means that in practice no bare MetaActions
exist), but the MetaAction::Read() must not read the type from the
stream since MetaAction::ReadMetaAction() has already done that!
Change-Id: I9ab06ec3112c1eefb86ab70ddfa2f588af257b88
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index b8725eb..a522e05 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -144,9 +144,9 @@ void MetaAction::Write( SvStream& rOStm, ImplMetaWriteData* )
// ------------------------------------------------------------------------
void MetaAction::Read( SvStream& rIStm, ImplMetaReadData* )
void MetaAction::Read( SvStream&, ImplMetaReadData* )
{
rIStm >> mnType;
// DO NOT read mnType - ReadMetaAction already did that!
}
// ------------------------------------------------------------------------