#include "support/LAssert.h"
#include "debug.h"
+using std::endl;
+using std::ios;
+
XPM_Renderer::XPM_Renderer()
: Renderer()
{}
bool XPM_Renderer::isImageFormatOK(string const & filename) const
{
- std::ifstream is(filename.c_str(), ios::in | ios::nocreate);
+ std::ifstream is(filename.c_str(), ios::in);
// The signature of the file without the spaces.
static const char str[] = "/*XPM*/";