diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-04-11 15:55:18 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-12 17:11:34 +0200 |
commit | 835cea6bea0b4a1783d8e50f9b0ca1abe5cd3701 (patch) | |
tree | 847b91156bd343ec9e81b4d7ae0186b161457492 /sw/source/filter/ww8/docxattributeoutput.cxx | |
parent | 88a8c0891474a4936a67bcd119ff968369a93869 (diff) |
write proper title and description for wp:docPr
Diffstat (limited to 'sw/source/filter/ww8/docxattributeoutput.cxx')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index ae25879596e2..30d24b832ff4 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -2103,11 +2103,11 @@ void DocxAttributeOutput::FlyFrameGraphic( const SwGrfNode& rGrfNode, const Size } } // picture description - // TODO the right image description m_pSerializer->startElementNS( XML_wp, XML_docPr, XML_id, "1", XML_name, "Picture", - XML_descr, "A description...", + XML_title, OUStringToOString( rGrfNode.GetTitle(), RTL_TEXTENCODING_UTF8 ).getStr(), + XML_descr, OUStringToOString( rGrfNode.GetDescription(), RTL_TEXTENCODING_UTF8 ).getStr(), FSEND ); // TODO hyperlink // m_pSerializer->singleElementNS( XML_a, XML_hlinkClick, |