]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_pimpl.C
fix crash after removing a table row (again due to uncorrected cursor
[lyx.git] / src / paragraph_pimpl.C
index 84c269d04b8845b0fb352a714f104bde55f00c6d..13fd94dbdd82986e65dd4c0b78109d95085269ea 100644 (file)
@@ -26,6 +26,7 @@
 #include "outputparams.h"
 #include "texrow.h"
 
+#include <boost/next_prior.hpp>
 
 using lyx::pos_type;
 
@@ -36,8 +37,6 @@ using std::string;
 using std::ostream;
 
 
-// Initialize static member.
-ShareContainer<LyXFont> Paragraph::Pimpl::FontTable::container;
 // Initialization of the counter for the paragraph id's,
 unsigned int Paragraph::Pimpl::paragraph_id = 0;
 
@@ -666,7 +665,7 @@ void Paragraph::Pimpl::simpleTeXSpecialChars(Buffer const & buf,
                        column += 17;
                        break;
 
-               case '*': case '[': 
+               case '*': case '[':
                        // avoid being mistaken for optional arguments
                        os << '{' << c << '}';
                        column += 2;