diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-09-19 21:26:40 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-09-19 21:26:58 +0200 |
commit | 591e23d03c27e2658889d913626fdcb2837d9064 (patch) | |
tree | 8fcf075f1d1d6ad7e5ed1de1dd943f15bf5ec2f8 /writerfilter | |
parent | 347330f441dc127edc66834c10f5fa76bb65cf72 (diff) |
writerfilter: try to make clang tinderbox happy
Change-Id: If24e8e3e48f8d043fdb48a0637e874743f9247f0
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtfsdrimport.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfsdrimport.cxx b/writerfilter/source/rtftok/rtfsdrimport.cxx index 2545c03521d6..40504a36b8e2 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 |