--- a/imgtools/imglib/filesystem/source/filesysteminterface.cpp Wed May 12 09:52:26 2010 +0100
+++ b/imgtools/imglib/filesystem/source/filesysteminterface.cpp Thu May 13 08:38:18 2010 +0100
@@ -62,9 +62,7 @@
iOutputStream.open(aImageFileName,ios::out|ios::binary);
if(iOutputStream.fail() == true )
{
- throw ErrorHandler(FILEOPENERROR,
- const_cast<char *>(aImageFileName),
- const_cast<char *>(__FILE__), __LINE__);
+ throw ErrorHandler(FILEOPENERROR,aImageFileName,__FILE__,__LINE__);
}
switch(aFileSystem)
{