#include "support/lstrings.h"
-#include <sstream>
using lyx::support::bformat;
using std::max;
using std::min;
using std::swap;
-using std::istringstream;
using std::string;
using std::auto_ptr;
void MathCasesInset::draw(PainterInfo & pi, int x, int y) const
{
mathed_draw_deco(pi, x + 1, y - dim_.ascent(), 6, dim_.height(), "{");
- MathGridInset::draw(pi, x + 8, y);
+ MathGridInset::drawWithMargin(pi, x, y, 8, 0);
setPosCache(pi, x, y);
}
switch (cmd.action) {
case LFUN_TABULAR_FEATURE: {
recordUndo(cur);
- istringstream is(cmd.argument);
- string s;
- is >> s;
+ string const s = cmd.argument;
if (s == "add-vline-left" || s == "add-vline-right") {
cur.undispatched();
break;
{
switch (cmd.action) {
case LFUN_TABULAR_FEATURE: {
- istringstream is(cmd.argument);
- string s;
- is >> s;
+ string const s = cmd.argument;
if (s == "add-vline-left" || s == "add-vline-right") {
flag.enabled(false);
flag.message(bformat(