diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 32547ed5e3..520a9f838a 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -3430,7 +3430,7 @@ std::vector Paragraph::simpleDocBookOnePar(Buffer const & buf, } } else { char_type c = getUChar(buf.masterBuffer()->params(), runparams, i); - if (std::isspace(c) && !ignore_fonts) + if (lyx::isSpace(c) && !ignore_fonts) delayedChars.push_back(c); else *xs << c;