diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-12-19 19:01:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-12-19 19:08:28 +0100 |
commit | f22044a49a56e585e2e9f419a1b77aba263b2afe (patch) | |
tree | d09cab39e8cb7342c2cc939e6c25425ed556a0b7 | |
parent | 117963ad6832b13a24a284498ec15a18d1c6880b (diff) |
Fix mid-air collision
Change-Id: Iedfd0df670e4aa81fc2acbee5c3bda50c53b9fc7
Reviewed-on: https://gerrit.libreoffice.org/85538
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 17eb147c6c21..d63e60714fa5 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -5405,7 +5405,7 @@ void DomainMapper_Impl::CloseFieldCommand() // the ODF_UNHANDLED string! assert(!m_bForceGenericFields || aCode.isEmpty()); xNameCont->insertByName(ODF_CODE_PARAM, uno::makeAny(aCode)); - if (std::get<0>(field) == "CONTROL") + if (sType == "CONTROL") { // tdf#129247 HACK probably this should be imported as something else, like in ww8? xNameCont->insertByName(ODF_ID_PARAM, uno::makeAny(OUString::number(87))); // ww8::eCONTROL } |