Kaydet (Commit) 36e42c0b authored tarafından Michael Stahl's avatar Michael Stahl

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
üst ba0a5770
......@@ -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!
}
// ------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment