summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-10-27 18:50:22 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-03 20:24:28 -0500
commit4316e643ef345b0f673b4a03a80a4b7cb3185588 (patch)
treeca57dfa6228e34fbc381a70ecbe46c37be82e997 /writerfilter
parenta884fe58a18a1007044de7141dfa70d1ac5fab4e (diff)
WaE uno any conversion does not like int
Change-Id: I54abaf2cd4dd896b39b4b6993d6d2f7c37f35e18
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx6
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)