void Paragraph::changeLanguage(BufferParams const & bparams,
Language const * from, Language const * to)
{
void Paragraph::changeLanguage(BufferParams const & bparams,
Language const * from, Language const * to)
{
LyXFont font = getFontSettings(bparams, i);
if (font.language() == from) {
font.setLanguage(to);
LyXFont font = getFontSettings(bparams, i);
if (font.language() == from) {
font.setLanguage(to);
for (pos_type i = beg; i < end; ++i) {
value_type const c = getUChar(buffer.params(), i);
for (pos_type i = beg; i < end; ++i) {
value_type const c = getUChar(buffer.params(), i);