summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-06-16 18:45:05 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-06-17 01:16:20 +0200
commit0d602133d627c1837eb64895855c2a7ed0144de6 (patch)
tree637777bf6e6ad25027a4a3938f2a69f711adee22
parent71aa91ab7e16be70ed9abd0959f8f18d35439acc (diff)
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
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx3
1 files changed, 2 insertions, 1 deletions
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