summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/dmapper')
-rw-r--r--writerfilter/source/dmapper/OLEHandler.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/OLEHandler.cxx b/writerfilter/source/dmapper/OLEHandler.cxx
index a07b443d83d0..73b0c6dae8e5 100644
--- a/writerfilter/source/dmapper/OLEHandler.cxx
+++ b/writerfilter/source/dmapper/OLEHandler.cxx
@@ -198,11 +198,17 @@ void OLEHandler::saveInteropProperties( uno::Reference< text::XTextDocument > xT
break;
}
+ uno::Sequence< beans::PropertyValue > aGrabBagAttribute(2);
+ aGrabBagAttribute[0].Name = "ProgID";
+ aGrabBagAttribute[0].Value = uno::Any( m_sProgId );
+ aGrabBagAttribute[1].Name = "DrawAspect";
+ aGrabBagAttribute[1].Value = uno::Any( m_sDrawAspect );
+
// save ProgID of current object
sal_Int32 length = objectsList.getLength();
objectsList.realloc( length + 1 );
objectsList[length].Name = sObjectName;
- objectsList[length].Value = uno::Any( m_sProgId );
+ objectsList[length].Value = uno::Any( aGrabBagAttribute );
// put objects list back into the grab bag
if( i == nBagLength )