Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo-fix by Kunda
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_Arithmetic1D.cxx
diff --git
a/src/StdMeshers/StdMeshers_Arithmetic1D.cxx
b/src/StdMeshers/StdMeshers_Arithmetic1D.cxx
index 481b5b17305e80ed7bc1910ea792e267e6f0d3c1..1dff2051523f9b99505cac09045bc8c84c922410 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Arithmetic1D.cxx
+++ b/
src/StdMeshers/StdMeshers_Arithmetic1D.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-20,7
+20,7
@@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-// SMESH SMESH : implementaion of SMESH idl descriptions
+// SMESH SMESH : implementa
t
ion of SMESH idl descriptions
// File : StdMeshers_Arithmetic1D.cxx
// Author : Damien COQUERET, OCC
// Module : SMESH
// File : StdMeshers_Arithmetic1D.cxx
// Author : Damien COQUERET, OCC
// Module : SMESH
@@
-144,22
+144,22
@@
istream & StdMeshers_Arithmetic1D::LoadFrom(istream & load)
{
bool isOK = true;
int intVal;
{
bool isOK = true;
int intVal;
- isOK = (load >> _begLength);
+ isOK =
static_cast<bool>
(load >> _begLength);
if (!isOK)
load.clear(ios::badbit | load.rdstate());
if (!isOK)
load.clear(ios::badbit | load.rdstate());
- isOK = (load >> _endLength);
+ isOK =
static_cast<bool>
(load >> _endLength);
if (!isOK)
load.clear(ios::badbit | load.rdstate());
if (!isOK)
load.clear(ios::badbit | load.rdstate());
- isOK = (load >> intVal);
+ isOK =
static_cast<bool>
(load >> intVal);
if (isOK && intVal > 0) {
_edgeIDs.reserve( intVal );
if (isOK && intVal > 0) {
_edgeIDs.reserve( intVal );
- for (
in
t i = 0; i < _edgeIDs.capacity() && isOK; i++) {
- isOK = (load >> intVal);
+ for (
size_
t i = 0; i < _edgeIDs.capacity() && isOK; i++) {
+ isOK =
static_cast<bool>
(load >> intVal);
if ( isOK ) _edgeIDs.push_back( intVal );
}
if ( isOK ) _edgeIDs.push_back( intVal );
}
- isOK = (load >> _objEntry);
+ isOK =
static_cast<bool>
(load >> _objEntry);
}
return load;
}
return load;
@@
-167,7
+167,7
@@
istream & StdMeshers_Arithmetic1D::LoadFrom(istream & load)
//=============================================================================
/*!
//=============================================================================
/*!
- *
+ *
*/
//=============================================================================
*/
//=============================================================================