From e846db644868651556b38f91737b81c43f3c4f3c Mon Sep 17 00:00:00 2001 From: Cédric Bosdonnat Date: Wed, 23 Nov 2011 11:22:28 +0100 Subject: RTF: OLE object import with graphic result fixed, the file can now be opened --- writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'writerfilter') diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 2a46fb035d03..2e31bc7f32bf 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -597,7 +597,7 @@ int RTFDocumentImpl::resolvePict(bool bInline) m_xContext), uno::UNO_QUERY_THROW); uno::Reference xGraphic = xGraphicProvider->queryGraphic(aMediaProperties); - xPropertySet->setPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Bitmap")), uno::Any(xGraphic)); + xPropertySet->setPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Graphic")), uno::Any(xGraphic)); RTFValue::Pointer_t pShapeValue(new RTFValue(xShape)); m_aObjectAttributes->push_back(make_pair(NS_ooxml::LN_shape, pShapeValue)); -- cgit