]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiImage.cpp
Compil fix.
[lyx.git] / src / frontends / qt4 / GuiImage.cpp
index 4839cca22e0b0266ee6b7fd39956e20d71e8efb8..a308429147368e6bddb94c6f3b9e04f5e816ccff 100644 (file)
@@ -26,8 +26,8 @@
 #include <QImage>
 #include <QImageReader>
 
-using lyx::support::ascii_lowercase;
-
+using namespace std;
+using namespace lyx::support;
 
 namespace lyx {
 namespace graphics {
@@ -53,7 +53,7 @@ Image::FormatList GuiImage::loadableFormats()
 
        //LYXERR(Debug::GRAPHICS,
        //      "D:/msys/home/yns/src/lyx-devel/lib/images/banner.png mis of format: "
-       //      << fromqstr(Pic.pictureFormat("D:/msys/.../banner.png")))
+       //      << Pic.pictureFormat("D:/msys/.../banner.png"))
        //if (Pic.pictureFormat("D:/msys/.../banner.png"))
        //      LYXERR(Debug::GRAPHICS, "pictureFormat not returned NULL\n"
        //              << "Supported formats are: " << Pic.inputFormats());
@@ -70,7 +70,7 @@ Image::FormatList GuiImage::loadableFormats()
 
                LYXERR(Debug::GRAPHICS, (const char *) *it << ", ");
 
-               std::string ext = ascii_lowercase((const char *) *it);
+               string ext = ascii_lowercase((const char *) *it);
 
                // special case
                if (ext == "jpeg")
@@ -125,7 +125,7 @@ unsigned int GuiImage::height() const
 }
 
 
-void GuiImage::load(support::FileName const & filename)
+void GuiImage::load(FileName const & filename)
 {
        if (!original_.isNull()) {
                LYXERR(Debug::GRAPHICS, "Image is loaded already!");