commit 0ba9b7c0c87b3ef08deadc50a48ec01ac8e70bd3
Author: Thibaut Cuvelier <[email protected]>
Date:   Fri Oct 16 17:02:06 2020 +0200

    DocBook: fix an assertion/crash.
---
 src/output_docbook.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/output_docbook.cpp b/src/output_docbook.cpp
index aca9075..458d838 100644
--- a/src/output_docbook.cpp
+++ b/src/output_docbook.cpp
@@ -30,6 +30,7 @@
 #include "insets/InsetNote.h"
 
 #include "support/lassert.h"
+#include "support/textutils.h"
 
 #include <stack>
 #include <iostream>
@@ -896,7 +897,7 @@ void outputDocBookInfo(
                // even though they must be properly output if there is some 
abstract.
                abstract = os2.str();
                docstring cleaned = abstract;
-               cleaned.erase(std::remove_if(cleaned.begin(), cleaned.end(), 
::isspace), cleaned.end());
+               cleaned.erase(std::remove_if(cleaned.begin(), cleaned.end(), 
lyx::isSpace), cleaned.end());
 
                // Nothing? Then there is no abstract!
                if (cleaned.empty())
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to