]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/QLImage.C
Get rid of some locale dependant functions
[features.git] / src / frontends / qt4 / QLImage.C
index 10ea1b956de572845616d0b7991384e5605b52c6..e506a726c70cd7a19a96fac84d3c42f075f04d75 100644 (file)
@@ -20,7 +20,7 @@
 #include "graphics/GraphicsParams.h"
 
 #include "support/filename.h"
-#include "support/lstrings.h"       // lowercase
+#include "support/lstrings.h"       // ascii_lowercase
 
 #include <QPainter>
 #include <QPictureIO>
@@ -31,7 +31,7 @@
 #include <boost/bind.hpp>
 #include <boost/tuple/tuple.hpp>
 
-using lyx::support::lowercase;
+using lyx::support::ascii_lowercase;
 
 using boost::bind;
 
@@ -89,7 +89,7 @@ Image::FormatList QLImage::loadableFormats()
 
                lyxerr[Debug::GRAPHICS] << (const char *) *it << ", ";
 
-               string ext = lowercase((const char *) *it);
+               string ext = ascii_lowercase((const char *) *it);
 
                // special case
                if (ext == "jpeg")