Oops! revert unwanted changes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13397 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-03-16 14:30:10 +00:00
parent 4a6095fe7e
commit 3b7e21a013
2 changed files with 1 additions and 8 deletions

View File

@ -62,8 +62,7 @@ QWorkArea::QWorkArea(LyXView &, int, int)
content_->show();
// It is said that this helps reduce flicker
content_->setBackgroundMode(NoBackground);
content_->setBackgroundColor(lcolorcache.get(LColor::background));
QHBoxLayout * vl = new QHBoxLayout(this);
vl->addWidget(content_, 5);

View File

@ -748,15 +748,9 @@ int InsetGraphics::latex(Buffer const & buf, ostream & os,
string after;
// Do we want subcaptions?
if (params().subcaption) {
if (runparams.moving_arg)
before += "\\protect";
before += "\\subfigure[" + params().subcaptionText + "]{";
after = '}';
}
if (runparams.moving_arg)
before += "\\protect";
// We never use the starred form, we use the "clip" option instead.
before += "\\includegraphics";