Salome HOME
liste de passage des cas à jour
[modules/smesh.git] / src / PluginUtils / GeomSelectionTools.h
index 9c603b3aa9439acb8c83713dbba1204f7f14788f..3df7d90fe0bfd3ee99455b20356d974862979828 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  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
@@ -58,10 +58,10 @@ public:
   Handle(SALOME_InteractiveObject) getFirstSelectedSalomeObject();
   std::string getFirstSelectedEntry();
   std::string getEntryOfObject(Handle(SALOME_InteractiveObject));
-  std::string getNameFromEntry(std::string);
+  std::string getNameFromEntry(const std::string& );
   std::string getFirstSelectedComponentDataType();
   TopAbs_ShapeEnum getFirstSelectedShapeType();
-  TopAbs_ShapeEnum entryToShapeType(std::string );
+  TopAbs_ShapeEnum entryToShapeType(const std::string& );
   GeomAbs_SurfaceType getFaceInformation(TopoDS_Shape);
 };
 
@@ -72,7 +72,7 @@ public:
 namespace PluginUtils
 {
   PLUGINUTILS_EXPORT QString PrintDoubleValue( double, int = 16 );
-};
+}
 
 #endif // _GEOMSELECTIONTOOLS_H_