summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-07-29 12:06:30 +0200
committerMiklos Vajna <vmiklos@frugalware.org>2011-07-29 17:32:41 +0200
commitec30985a7e8595b06fe67427e17f5eee6be97dfa (patch)
treeb163ef220c95a621a122491e1958f9603e3ca61f /writerfilter
parent67f442f27fbe0862af5df704d41aa1cb295f3bf5 (diff)
handle groups inside fldinst destination
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 58809d4b06d2..833e9827a9d7 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -2328,7 +2328,8 @@ int RTFDocumentImpl::pushState()
m_aStates.top().nDestinationState = DESTINATION_STYLEENTRY;
else if (m_aStates.top().nDestinationState == DESTINATION_FIELDRESULT ||
m_aStates.top().nDestinationState == DESTINATION_SHAPETEXT ||
- m_aStates.top().nDestinationState == DESTINATION_FORMFIELD)
+ m_aStates.top().nDestinationState == DESTINATION_FORMFIELD ||
+ m_aStates.top().nDestinationState == DESTINATION_FIELDINSTRUCTION)
m_aStates.top().nDestinationState = DESTINATION_NORMAL;
else if (m_aStates.top().nDestinationState == DESTINATION_REVISIONTABLE)
m_aStates.top().nDestinationState = DESTINATION_REVISIONENTRY;