]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiGraphics.cpp
Extend LATEXIFY command param handling and add literal param.
[lyx.git] / src / frontends / qt4 / GuiGraphics.cpp
index 05ee2137c25e11a2dde94dde425f51c965f16131..7e4f9ef37bc86e56376ae0e183aa84a50ae02393 100644 (file)
@@ -110,7 +110,7 @@ static void setAutoTextCB(QCheckBox * checkBox, QLineEdit * lineEdit,
 
 
 GuiGraphics::GuiGraphics(GuiView & lv)
-       : GuiDialog(lv, "graphics", qt_("Graphics"))
+       : GuiDialog(lv, "graphics", qt_("Graphics")), bbChanged(false)
 {
        setupUi(this);
        
@@ -654,7 +654,6 @@ void GuiGraphics::applyView()
        // the bb section
        igp.bbox = graphics::BoundingBox();
        if (bbChanged) {
-               string bb;
                string lbXs = widgetToDoubleStr(lbX);
                string lbYs = widgetToDoubleStr(lbY);
                string rtXs = widgetToDoubleStr(rtX);