diff --git a/src/paragraph.C b/src/paragraph.C index 22626a73a5..05b480c2b5 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -1097,7 +1097,7 @@ bool Paragraph::simpleTeXOnePar(Buffer const & buf, // simpleTeXSpecialChars ignores spaces if // style->pass_thru is false. if (i != body_pos - 1) { - if (pimpl_->simpleTeXBlanks(bparams, + if (pimpl_->simpleTeXBlanks( *(runparams.encoding), os, texrow, i, column, font, *style)) // A surrogate pair was output. We diff --git a/src/paragraph_pimpl.C b/src/paragraph_pimpl.C index 70b21edfe6..d9d7091560 100644 --- a/src/paragraph_pimpl.C +++ b/src/paragraph_pimpl.C @@ -385,8 +385,7 @@ int Paragraph::Pimpl::latexSurrogatePair(odocstream & os, value_type c, } -bool Paragraph::Pimpl::simpleTeXBlanks(BufferParams const & bparams, - Encoding const & encoding, +bool Paragraph::Pimpl::simpleTeXBlanks(Encoding const & encoding, odocstream & os, TexRow & texrow, pos_type & i, unsigned int & column, diff --git a/src/paragraph_pimpl.h b/src/paragraph_pimpl.h index 7d4aba0c58..86acf1028f 100644 --- a/src/paragraph_pimpl.h +++ b/src/paragraph_pimpl.h @@ -131,7 +131,7 @@ public: /// Output a space in appropriate formatting (or a surrogate pair /// if the next character is a combining character). /// \return whether a surrogate pair was output. - bool simpleTeXBlanks(BufferParams const &, Encoding const &, + bool simpleTeXBlanks(Encoding const &, odocstream &, TexRow & texrow, pos_type & i, unsigned int & column,