diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-07-05 09:56:48 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-07-08 08:53:40 +0200 |
commit | c23b42ce803f58e547637100e83bb6bab2843fe0 (patch) | |
tree | 965697872710d890dfa74390d44f5990446672c7 /include | |
parent | 7c320f2836f01f92129551f7fee4df9583d3aef5 (diff) |
Add Handler for MetaPoint Read
The handler separates the MetaPointAction::Read from mataact.hxx
Read implementation is now in SvmReader.hxx
Change-Id: Ic383be9029f5a74479c511b29cf8759815d55713
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118398
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/SvmReader.hxx | 1 | ||||
-rw-r--r-- | include/vcl/metaact.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/filter/SvmReader.hxx b/include/vcl/filter/SvmReader.hxx index 0537eedb0b90..c2e1e2c07df6 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -40,6 +40,7 @@ public: rtl::Reference<MetaAction> LineColorHandler(); rtl::Reference<MetaAction> FillColorHandler(); rtl::Reference<MetaAction> RectHandler(); + rtl::Reference<MetaAction> PointHandler(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index cf18190c230f..940ba20f8fb8 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -154,6 +154,7 @@ public: virtual void Scale( double fScaleX, double fScaleY ) override; const Point& GetPoint() const { return maPt; } + void SetPoint(Point& rPt) { maPt = rPt; } }; class VCL_DLLPUBLIC MetaLineAction final : public MetaAction |