diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-06-30 00:11:17 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-06-30 00:34:32 +0200 |
commit | 36e42c0bc094231cb80157a871862c76d6a2d03a (patch) | |
tree | 1337e22be9c4c42347e19deaad6e96b947c47ea2 /vcl | |
parent | ba0a57702cdef7a0389c06841711d7e3079d471c (diff) |
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
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/metaact.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index b8725ebf86f4..a522e051a5d9 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! } // ------------------------------------------------------------------------ |