]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiImage.cpp
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiImage.cpp
index 4839cca22e0b0266ee6b7fd39956e20d71e8efb8..75c78a6ee8335b71db7728e7935a009e57a27dec 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 {
@@ -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!");