-#if 1
- // This is in the critical path for loading!
- pos_type const siz = size();
-
- lyx::Assert(pos <= siz);
-
- if (pos == siz) {
- lyxerr << "getChar() on pos " << pos << " in par id "
- << owner_->id() << " of size " << siz
- << " is a bit silly !" << endl;
- return '\0';
- }
-
- return text[pos];
-#else
- lyx::Assert(pos < size());
- return text[pos];
-#endif
-}
-
-
-void Paragraph::Pimpl::setChar(pos_type pos, value_type c)
-{
-#warning changes
- text[pos] = c;