diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-07-06 13:04:02 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-07-08 08:56:02 +0200 |
commit | 0fab99d596f87739a3c98776591ca4f0c51b15b9 (patch) | |
tree | d548c8d90061e0aa35812dc8e2a82f9f5c690dbb /include | |
parent | 3f6c589530fbe7dbc418d777bdd5a7a1804e85bc (diff) |
Add Handler for MetaEllipse Read
The handler separates the MetaEllipseAction::Read from metaact.hxx
Read implementation is now in SvmReader.hxx
Change-Id: I40c5f7c2993dd34cb370d909e251be9a588f6168
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118473
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 7df5a1a45e3a..acee4279eb22 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -44,6 +44,7 @@ public: rtl::Reference<MetaAction> PixelHandler(); rtl::Reference<MetaAction> LineHandler(); rtl::Reference<MetaAction> RoundRectHandler(); + rtl::Reference<MetaAction> EllipseHandler(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index 1b20cbf72952..44c1e5db4917 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -287,6 +287,7 @@ public: virtual void Scale( double fScaleX, double fScaleY ) override; const tools::Rectangle& GetRect() const { return maRect; } + void SetRect(tools::Rectangle& rRect) { maRect = rRect; } }; class UNLESS_MERGELIBS(VCL_DLLPUBLIC) MetaArcAction final : public MetaAction |