summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/svm/SvmReader.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/vcl/source/filter/svm/SvmReader.cxx b/vcl/source/filter/svm/SvmReader.cxx
index 0a8a4ebf2dfd..d4d5953959e6 100644
--- a/vcl/source/filter/svm/SvmReader.cxx
+++ b/vcl/source/filter/svm/SvmReader.cxx
@@ -293,7 +293,7 @@ rtl::Reference<MetaAction> SvmReader::MetaActionHandler(ImplMetaReadData* pData)
return PushHandler();
break;
case MetaActionType::POP:
- pAction = new MetaPopAction;
+ return PopHandler();
break;
case MetaActionType::RASTEROP:
pAction = new MetaRasterOpAction;
@@ -1273,4 +1273,13 @@ rtl::Reference<MetaAction> SvmReader::PushHandler()
return pAction;
}
+
+rtl::Reference<MetaAction> SvmReader::PopHandler()
+{
+ auto pAction = new MetaPopAction();
+
+ VersionCompatRead aCompat(mrStream);
+
+ return pAction;
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */