summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-09-19 21:26:40 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-06-26 11:56:52 +0200
commit590217ef2848bedeb1ff770adb7dca11a81d8ab2 (patch)
tree4fc8821a9f59e8511fb99d040f971f5c1807fbe5
parent90aaecc1b4c62afcd41d988e4561c615403121a5 (diff)
bnc#823655 writerfilter: try to make clang tinderbox happy
(cherry picked from commit 591e23d03c27e2658889d913626fdcb2837d9064) Change-Id: If24e8e3e48f8d043fdb48a0637e874743f9247f0
-rw-r--r--writerfilter/source/rtftok/rtfsdrimport.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfsdrimport.cxx b/writerfilter/source/rtftok/rtfsdrimport.cxx
index ebcd21f030f0..eb9912c6f28e 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
@@ -327,7 +328,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