summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMert Tumer <mert.tumer@collabora.com>2020-12-10 11:59:06 +0300
committerMert Tumer <mert.tumer@collabora.com>2021-01-17 09:18:43 +0100
commitd2baba68d32fa93e758dcc9c9a890206065ea9ac (patch)
tree82e34eee2b18daee5ae22f7e692e73e65debddec
parentb5bf573e480236cede84d09e3cb89144070fe373 (diff)
fix rendershapeselection for drawing
Change-Id: Id4cb37885bf9b442adc679b895d89cd615ffb2ee Signed-off-by: Mert Tumer <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108681 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109213 Tested-by: Jenkins
-rw-r--r--desktop/source/lib/init.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 86cab63684f9..c8090aeff672 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3619,6 +3619,9 @@ static size_t doc_renderShapeSelection(LibreOfficeKitDocument* pThis, char** pOu
case LOK_DOCTYPE_PRESENTATION:
aMediaDescriptor["FilterName"] <<= OUString("impress_svg_Export");
break;
+ case LOK_DOCTYPE_DRAWING:
+ aMediaDescriptor["FilterName"] <<= OUString("draw_svg_Export");
+ break;
case LOK_DOCTYPE_TEXT:
aMediaDescriptor["FilterName"] <<= OUString("writer_svg_Export");
break;