diff options
Diffstat (limited to 'svx/source/styles')
-rw-r--r-- | svx/source/styles/CommonStylePreviewRenderer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/styles/CommonStylePreviewRenderer.cxx b/svx/source/styles/CommonStylePreviewRenderer.cxx index 0ca34abe9a36..c23861e92a72 100644 --- a/svx/source/styles/CommonStylePreviewRenderer.cxx +++ b/svx/source/styles/CommonStylePreviewRenderer.cxx @@ -420,7 +420,7 @@ void CommonStylePreviewRenderer::CheckScript() auto aNextScript = aEditEngine.GetScriptType({ 0, i, 0, i }); if (aNextScript != aScript) maScriptChanges.emplace_back(aScript, i - 1); - else if (i == maScriptText.getLength()) + if (i == maScriptText.getLength()) maScriptChanges.emplace_back(aScript, i); aScript = aNextScript; } |