diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-01-25 23:07:39 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-02-01 07:49:08 +0100 |
commit | c81f3aec1ae17c6a1c6a5702cf5e42fbbad4e4b1 (patch) | |
tree | 993333fa0885f217fea55b616d994f8a08ad07ec /vcl/inc/graphic/VectorGraphicLoader.hxx | |
parent | 52e6dea5220c563405e37e1533f45d8d3aaa0c04 (diff) |
vcl: swap-in load all vector formats without intermediate Graphic
Previously only PDF were loaded without the intermediate Graphic
objects. With this change all vector graphic formats are loaded
directly to a new VectorGraphicData instance, without the need
to create a intermediate Graphic object.
Change-Id: Idfa7c0ae433c4bf9500110dff82b6d1ec3f3caa4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109931
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/inc/graphic/VectorGraphicLoader.hxx')
-rw-r--r-- | vcl/inc/graphic/VectorGraphicLoader.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/graphic/VectorGraphicLoader.hxx b/vcl/inc/graphic/VectorGraphicLoader.hxx index b6f38120885c..943f7b8dc6d5 100644 --- a/vcl/inc/graphic/VectorGraphicLoader.hxx +++ b/vcl/inc/graphic/VectorGraphicLoader.hxx @@ -17,8 +17,8 @@ namespace vcl { -std::shared_ptr<VectorGraphicData> -loadPdfFromDataContainer(BinaryDataContainer const& rDataContainer); +std::shared_ptr<VectorGraphicData> loadVectorGraphic(BinaryDataContainer const& rDataContainer, + VectorGraphicDataType eType); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |