summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/text/txtparai.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index f2124bf068ed..816bf8769999 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -1809,7 +1809,8 @@ void XMLParaContext::endFastElement(sal_Int32 )
// created between commits 6249858a8972aef077e0249bd93cfe8f01bce4d6 and
// 1a88efa8e02a6d765dab13c7110443bb9e6acecf, where the trailing empty spans
// were used to store the marker formatting
- if (!m_aMarkerStyleName.hasValue()
+ if (pHint->GetType() == XMLHintType::XML_HINT_STYLE
+ && !m_aMarkerStyleName.hasValue()
&& xCompare->compareRegionStarts(pHint->GetStart(), xEnd) == 0)
{
if (auto pStyle = GetImport().GetTextImport()->FindAutoCharStyle(
loplugin:unusedmethodsNoel Grandin 2015-10-26fix includes that are not stand-aloneNorbert Thiebaud 2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann 2015-02-12jvmaccess doesn't have a stable interface anywayStephan Bergmann 2015-02-07loplugin:deletedspecialStephan Bergmann 2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin 2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin