]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Utilities.h
...
[cpPlugins.git] / lib / cpPlugins / Utilities.h
index ff033b4b62277e674a8c85cded12860f8f6e19af..d4eff536b392d3ce7a3d0c08c4fc817bc3bdccec 100644 (file)
@@ -113,9 +113,7 @@ namespace cpPlugins
     const std::string& buffer, const std::string& fname
     )
   {
-    std::ofstream file_stream(
-      CanonicalPath( fname ).c_str( ), std::ofstream::binary
-      );
+    std::ofstream file_stream( fname.c_str( ), std::ofstream::binary );
     if( !file_stream )
       return( false );
     file_stream.write( buffer.c_str( ), buffer.size( ) );