]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphicsParams.C
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetgraphicsParams.C
index c0cdd5fae8826669aa6d68d3e2c1ae08c78acc69..0cb1d2c1d399151b4d18b54bcfa256ea40b074f0 100644 (file)
@@ -68,7 +68,7 @@ void InsetGraphicsParams::init()
        filename.erase();
        lyxscale = 100;                 // lyx scaling in percentage
        display = graphics::DefaultDisplay; // display mode; see preferences
-       scale = string();                       // output scaling in percentage
+       scale = string("100");                  // output scaling in percentage
        width = LyXLength();
        height = LyXLength();
        keepAspectRatio = false;        // for LaTeX output
@@ -275,7 +275,7 @@ graphics::Params InsetGraphicsParams::as_grfxParams() const
 
                // Get the original Bounding Box from the file
                string const tmp = readBB_from_PSFile(filename);
-               lyxerr[Debug::GRAPHICS] << "BB_from_File: " << tmp << std::endl;
+               LYXERR(Debug::GRAPHICS) << "BB_from_File: " << tmp << std::endl;
                if (!tmp.empty()) {
 #ifdef WITH_WARNINGS
 # warning why not convert to unsigned int? (Lgb)