writerfilter/source/rtftok/rtfsdrimport.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 591e23d03c27e2658889d913626fdcb2837d9064 Author: Miklos Vajna <[email protected]> Date: Wed Sep 19 21:26:40 2012 +0200 writerfilter: try to make clang tinderbox happy Change-Id: If24e8e3e48f8d043fdb48a0637e874743f9247f0 diff --git a/writerfilter/source/rtftok/rtfsdrimport.cxx b/writerfilter/source/rtftok/rtfsdrimport.cxx index 2545c03..40504a3 100644 --- a/writerfilter/source/rtftok/rtfsdrimport.cxx +++ b/writerfilter/source/rtftok/rtfsdrimport.cxx @@ -31,6 +31,7 @@ #include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp> #include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp> #include <com/sun/star/drawing/EnhancedCustomShapeSegmentCommand.hpp> +#include <com/sun/star/text/WrapTextMode.hpp> #include <com/sun/star/text/WritingMode.hpp> #include <ooxml/resourceids.hxx> // NS_ooxml namespace @@ -347,7 +348,7 @@ void RTFSdrImport::resolve(RTFShape& rShape) if (rShape.nVertOrientRelation != 0) xPropertySet->setPropertyValue("VertOrientRelation", uno::makeAny(rShape.nVertOrientRelation)); if (rShape.nWrap != -1) - xPropertySet->setPropertyValue("Surround", uno::makeAny(rShape.nWrap)); + xPropertySet->setPropertyValue("Surround", uno::makeAny(text::WrapTextMode(rShape.nWrap))); } // Send it to dmapper _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
