X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH%2FSMESH_Gen.cxx;h=67c3edda9933cd8057ab5b4abcbced706b853803;hp=574d4b3dedba14709fe847a3806a3c72378678d1;hb=a4be05bc3b1de5753d74501144c3ff1416606a12;hpb=f2614ea1d552edc74c317ba7ff2840bcd33d92f2 diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index 574d4b3de..67c3edda9 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -1032,13 +1032,13 @@ std::vector< std::string > SMESH_Gen::GetPluginXMLPaths() bool fileOK; #ifdef WIN32 #ifdef UNICODE - const wchar_t* path = Kernel_Utils::decode_s(xmlPath); + const wchar_t* path = Kernel_Utils::decode_s(xmlPath); #else - const char* path = xmlPath.c_str(); + const char* path = xmlPath.c_str(); #endif fileOK = (GetFileAttributes(path) != INVALID_FILE_ATTRIBUTES); #ifdef UNICODE - delete path; + delete path; #endif #else fileOK = (access(xmlPath.c_str(), F_OK) == 0);