Salome HOME
Make XAO GEOM sources up to SALOME 8.2 version
[modules/shaper.git] / src / XAO / XAO_XaoUtils.cxx
index 5d63f1748b3acb827d0263ddafb1e11aa2c2dc45..52076280fe31803a6c59a1439491bb318bc6019c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -107,7 +107,7 @@ throw(XAO_Exception)
         return XAO::FACE;
     if (dimension == "solid")
         return XAO::SOLID;
-    if (dimension == "part")
+    if (dimension == "whole")
         return XAO::WHOLE;
 
     throw XAO_Exception(MsgBuilder() << "Bad dimension: " << dimension);