summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-06-30 00:11:17 +0200
committerMichael Stahl <mstahl@redhat.com>2013-06-30 00:34:32 +0200
commit36e42c0bc094231cb80157a871862c76d6a2d03a (patch)
tree1337e22be9c4c42347e19deaad6e96b947c47ea2
parentba0a57702cdef7a0389c06841711d7e3079d471c (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
-rw-r--r--vcl/source/gdi/metaact.cxx4
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!
}
// ------------------------------------------------------------------------