From 0d602133d627c1837eb64895855c2a7ed0144de6 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 16 Jun 2014 18:45:05 +0200 Subject: svx: fix VML export of rectangles imported from drawingML This wasn't a problem before, as EnhancedCustomShapeTypeNames wasn't involved for the export of rectangles, as those were handled in sw directly. CppunitTest_sw_ooxmlsdrexport's testFdo69636 is a reproducer for this problem, the VML fallback part was empty due to this. Change-Id: Ib2622fe05ddaa66bb3231977e30a8a1ca8748001 --- svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx b/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx index 8e7966291913..6dda34efbf37 100644 --- a/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx @@ -240,7 +240,8 @@ static const NameTypeTable pNameTypeTableArray[] = { "mso-spt200", mso_sptActionButtonMovie }, { "mso-spt201", mso_sptHostControl }, { "mso-spt202", mso_sptTextBox }, - { "teardrop", mso_sptTearDrop } + { "teardrop", mso_sptTearDrop }, + { "ooxml-rect", mso_sptRectangle } }; // gallery: quadrat -- cgit