diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-10-27 18:50:22 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-03 20:24:28 -0500 |
commit | 4316e643ef345b0f673b4a03a80a4b7cb3185588 (patch) | |
tree | ca57dfa6228e34fbc381a70ecbe46c37be82e997 /writerfilter | |
parent | basic: OUStringification of ddectrl (diff) | |
download | core-4316e643ef345b0f673b4a03a80a4b7cb3185588.tar.gz core-4316e643ef345b0f673b4a03a80a4b7cb3185588.zip |
WaE uno any conversion does not like int
Change-Id: I54abaf2cd4dd896b39b4b6993d6d2f7c37f35e18
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 2333f5263405..a5ee8f525674 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -3756,11 +3756,13 @@ int RTFDocumentImpl::popState() if (bTextFrame) { - xPropertySet->setPropertyValue("HoriOrientPosition", uno::makeAny(rDrawing.nLeft)); - xPropertySet->setPropertyValue("VertOrientPosition", uno::makeAny(rDrawing.nTop)); + xPropertySet->setPropertyValue("HoriOrientPosition", uno::makeAny((sal_Int32)rDrawing.nLeft)); + xPropertySet->setPropertyValue("VertOrientPosition", uno::makeAny((sal_Int32)rDrawing.nTop)); } else + { xShape->setPosition(awt::Point(rDrawing.nLeft, rDrawing.nTop)); + } xShape->setSize(awt::Size(rDrawing.nRight, rDrawing.nBottom)); if (rDrawing.bHasLineColor) |