#include "buffer.h"
#include "BufferView.h"
#include "gettext.h"
+#include "lyxlayout.h"
#include "lyxlex.h"
#include "lyxtext.h"
#include "paragraph.h"
#include "support/std_sstream.h"
-using namespace lyx::support;
+using lyx::support::rtrim;
using std::istringstream;
using std::ostream;
using std::ostringstream;
+using std::string;
// Initialize static member var.
void setParagraphParams(BufferView & bv, string const & data)
{
- istringstream is(STRCONV(data));
+ istringstream is(data);
LyXLex lex(0,0);
lex.setStream(is);
/// is paragraph in inset
os << "\\ininset " << (par.inInset()?1:0) << '\n';
- data = STRCONV(os.str());
+ data = os.str();
}