summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-08-12 12:19:08 +0200
committerMiklos Vajna <vmiklos@frugalware.org>2011-08-12 12:19:08 +0200
commitf40fcd9d109a02e88f53160bb55ffe5e8317d248 (patch)
treefb07fc586870a1e0799b022e6c853389046b62d9 /writerfilter
parente0514fd4e88220c0dbbea87feea7a1275dfa2760 (diff)
support picture at the start of the document
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index ea91f54692be..d24fded13ce9 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -644,6 +644,7 @@ int RTFDocumentImpl::resolvePict(bool bInline)
aSprms->push_back(make_pair(NS_ooxml::LN_anchor_anchor, pValue));
}
writerfilter::Reference<Properties>::Pointer_t const pProperties(new RTFReferenceProperties(aAttributes, aSprms));
+ checkFirstRun();
Mapper().props(pProperties);
return 0;