diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-07-13 14:17:11 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-07-14 11:13:01 +0200 |
commit | 250ac047f5aef05738600457354d4998a0456a51 (patch) | |
tree | 5e1cc34fc447619b3bbd1908c328296c2c5e4eb8 /include | |
parent | 7707339a7d10225ff2503a852f68427519ae26f6 (diff) |
Add Handler for Wallpaper Read
The handler separates MetaWallpaperAction::Read from metaact.hxx
Read implementation is now in SvmReader.hxx
Change-Id: I5878eb3c789dfa46ec6dbef358d26e69abc9e705
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118837
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.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 d075955db479..c5c8568c25ef 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -68,6 +68,7 @@ public: rtl::Reference<MetaAction> GradientHandler(); rtl::Reference<MetaAction> GradientExHandler(); rtl::Reference<MetaAction> HatchHandler(); + rtl::Reference<MetaAction> WallpaperHandler(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index ccca055522df..df027889b4dd 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -1164,6 +1164,7 @@ public: const tools::Rectangle& GetRect() const { return maRect; } const Wallpaper& GetWallpaper() const { return maWallpaper; } + void SetWallpaper(Wallpaper& rWallpaper) { maWallpaper = rWallpaper; } }; class UNLESS_MERGELIBS(VCL_DLLPUBLIC) MetaClipRegionAction final : public MetaAction |